a bit more of a refactoring

This commit is contained in:
nixa 2016-05-13 18:40:34 +03:00
parent 1d6c0554a3
commit b50775a96a
3 changed files with 27 additions and 12 deletions

View file

@ -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);
}
}