Skip to content

Commit

Permalink
fix(module:menu): fix menu nzMatchRouter in nested menu (#3785)
Browse files Browse the repository at this point in the history
close #3736
  • Loading branch information
vthinkxie authored Jul 13, 2019
1 parent f59d79f commit eb5d544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/nz-menu-item.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class NzMenuItemDirective implements OnInit, OnChanges, OnDestroy, AfterC
const hasActiveLinks = this.hasActiveLinks();
if (this.nzSelected !== hasActiveLinks) {
this.nzSelected = hasActiveLinks;
this.setClassMap();
this.setSelectedState(this.nzSelected);
}
});
}
Expand Down

0 comments on commit eb5d544

Please sign in to comment.