I have this :
if (this.router.url === '/test/sort') {
this.active = 0;
}
Problem is that sometimes url will be test/sort?procesId=11 and than it will not enter in if statement. Any suggestion how can i do that?