File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
< a *ngSwitchCase ="'external' "
3
3
[ngClass] ="getLinkClass() "
4
4
href ="{{item.url}} "
5
- [appHtmlAttr] ="item.attributes ">
5
+ [appHtmlAttr] ="item.attributes "
6
+ [target] ="item.attributes.target ? item.attributes.target : '_self' ">
6
7
< i *ngIf ="helper.hasIcon(item) " [ngClass] ="item | appSidebarNavIcon "> </ i >
7
8
< ng-container > {{item.name}}</ ng-container >
8
9
< span *ngIf ="helper.hasBadge(item) " [ngClass] ="item | appSidebarNavBadge "> {{ item.badge.text }}</ span >
9
10
</ a >
10
11
< a *ngSwitchDefault
11
12
[ngClass] ="getLinkClass() "
12
13
[appHtmlAttr] ="item.attributes "
14
+ [target] ="item.attributes.target ? item.attributes.target : '_self' "
13
15
[attr.disabled] ="isDisabled() "
14
16
routerLinkActive ="active "
15
17
[routerLink] ="[item.url] "
You can’t perform that action at this time.
0 commit comments