mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-25 10:46:09 +01:00
a bit more of a refactoring
This commit is contained in:
parent
1d6c0554a3
commit
b50775a96a
3 changed files with 27 additions and 12 deletions
|
|
@ -96,7 +96,7 @@ export class Sidebar {
|
|||
|
||||
private _selectMenuItem(currentPath = null) {
|
||||
|
||||
let currentMenu = this._sidebarService.selectMenuItem(this._router, this.menuItems, currentPath);
|
||||
let currentMenu = this._sidebarService.setRouter(this._router).selectMenuItem(this.menuItems, currentPath);
|
||||
this._state.notifyDataChanged('menu.activeLink', currentMenu);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue