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 1313 [attr.disabled] ="isDisabled() "
1414 routerLinkActive ="active "
1515 [routerLink] ="[item.url] "
16+ [queryParams] ="getQueryParams() "
17+ [routerLinkActiveOptions] ="getActiveOptions() "
1618 (click) ="hideMobile() ">
1719 < i *ngIf ="helper.hasIcon(item) " [ngClass] ="helper.getIconClass(item) "> </ i >
1820 < 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 {
5858 this . renderer . removeClass ( this . document . body , 'sidebar-show' ) ;
5959 }
6060 }
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+
6170}
You can’t perform that action at this time.
0 commit comments