Skip to content

Commit

Permalink
fix: highlight active menu item again (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig authored Dec 21, 2023
1 parent 4f0daf9 commit cbf8525
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/core/ui/navigation/navigation/navigation.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,8 @@ export class NavigationComponent {
}));
this.menuItems =
await this.routePermissionService.filterPermittedRoutes(items);

// re-select active menu item after menu has been fully initialized
this.activeLink = this.computeActiveLink(location.pathname);
}
}

0 comments on commit cbf8525

Please sign in to comment.