79303920

Date: 2024-12-23 18:31:35
Score: 3
Natty:
Report link

Instead of [routerLink]="[currentURL]" write: [routerLink]="[currentUrl? currentUrl.split('#')[0] : '']" and it will work all the time

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mamashare