mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
router TODO
This commit is contained in:
parent
2dff3f8ae0
commit
200598fe85
1 changed files with 2 additions and 1 deletions
|
|
@ -99,6 +99,7 @@ export class Sidebar {
|
|||
return false;
|
||||
}
|
||||
|
||||
// TODO: there is a bug in the router thus all child routers are considered as active
|
||||
private selectMenuItem() {
|
||||
let currentMenu;
|
||||
|
||||
|
|
@ -118,7 +119,7 @@ export class Sidebar {
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// notifies all subscribers
|
||||
this._themeGlobal.setData('menu.activeLink', currentMenu);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue