From bcfc0b271097c5296dca77bbcebbb1f5c22abf13 Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas.leder@jobrouter.com> Date: Wed, 16 Mar 2022 14:28:45 +0100 Subject: [PATCH] ignore get params in url --- src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 4cbc33e..fa70b9c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -16,7 +16,7 @@ export class AppComponent { console.log(this.router.url); this.router.events.subscribe((url:any) => { if(url.url != undefined) { - this.activeLink = "#" + url.url + this.activeLink = "#" + url.url.split("?")[0] } }); } -- GitLab