We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb6821 commit efe7a57Copy full SHA for efe7a57
projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.ts
@@ -19,7 +19,7 @@ export interface INavLabel {
19
20
export interface INavData {
21
name?: string;
22
- url?: string;
+ url?: string | any[];
23
icon?: string;
24
badge?: INavBadge;
25
title?: boolean;
projects/coreui/angular/src/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.html
@@ -13,7 +13,7 @@
13
[target]="item.attributes.target ? item.attributes.target : '_self'"
14
[attr.disabled]="isDisabled()"
15
routerLinkActive="active"
16
- [routerLink]="[item.url]"
+ [routerLink]="item.url"
17
(click)="hideMobile()">
18
<i *ngIf="helper.hasIcon(item)" [ngClass]="item | appSidebarNavIcon"></i>
<ng-container>{{item.name}}</ng-container>
0 commit comments