mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-03 15:11:48 +01:00
now is active based on router functionality rather than on location/urls
This commit is contained in:
parent
dd6c7644f6
commit
fbdf4355dd
4 changed files with 24 additions and 22 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<li *ngFor="#item of menuItems" class="al-sidebar-list-item"
|
||||
[ngClass]="{'selected': item.selected, 'with-sub-menu': item.subMenu}">
|
||||
|
||||
<a *ngIf="!item.subMenu" href="{{ item.root }}" class="al-sidebar-list-link">
|
||||
<a *ngIf="!item.subMenu" [routerLink]="[item.name]" class="al-sidebar-list-link">
|
||||
<i class="{{ item.icon }}"></i><span>{{ item.title }}</span>
|
||||
</a>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue