File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 13
13
[attr.disabled] ="isDisabled() "
14
14
routerLinkActive ="active "
15
15
[routerLink] ="[item.url] "
16
+ [queryParams] ="getQueryParams() "
17
+ [routerLinkActiveOptions] ="getActiveOptions() "
16
18
(click) ="hideMobile() ">
17
19
< i *ngIf ="helper.hasIcon(item) " [ngClass] ="helper.getIconClass(item) "> </ i >
18
20
< ng-container > {{item.name}}</ ng-container >
Original file line number Diff line number Diff line change @@ -58,4 +58,13 @@ export class AppSidebarNavLinkComponent implements OnInit {
58
58
this . renderer . removeClass ( this . document . body , 'sidebar-show' ) ;
59
59
}
60
60
}
61
+
62
+ public getQueryParams ( ) {
63
+ return this . link . queryParams ? this . link . queryParams : { } ;
64
+ }
65
+
66
+ public getActiveOptions ( ) {
67
+ return this . link . activeOptions ? this . link . activeOptions : '' ;
68
+ }
69
+
61
70
}
You can’t perform that action at this time.
0 commit comments