Skip to content
Snippets Groups Projects
Verified Commit bcfc0b27 authored by Jonas Leder's avatar Jonas Leder
Browse files

ignore get params in url

parent 5e4f7db9
Branches
Tags
No related merge requests found
......@@ -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]
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment