Skip to content

Commit

Permalink
fix(menu): fix link active in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
abalad committed Jul 23, 2019
1 parent d3fb64c commit 69cf76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/truly-ui/src/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class TlMenu implements AfterContentInit, OnChanges, OnDestroy {
}

isRouterActive(item) {
return this.router.url === item[this.link];
return this.router.isActive( item[this.link], false );
}

listenClickElementList( item ) {
Expand Down

0 comments on commit 69cf76a

Please sign in to comment.