Skip to content

Commit

Permalink
PR remark
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Oct 19, 2023
1 parent fc35b1b commit 98ce047
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/modules/app/components/navigation/navigation.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
[opened]="(isHandset$ | async) === false">
<mat-toolbar>EDC Demo</mat-toolbar>
<mat-nav-list>
<a [routerLink]="[route.path]" *ngFor="let route of routes">
<mat-list-item *ngIf="route.component">
<mat-icon matListItemIcon>{{route.data?.icon}}</mat-icon>
<span matLine>{{route.data?.title ?? route.path}}</span>
</mat-list-item>
</a>
<a mat-list-item *ngFor="let route of routes" [routerLink]="[route.path]">
<mat-icon matListItemIcon>{{route.data?.icon}}</mat-icon>
{{route.data?.title ?? route.path}}
</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
Expand Down

0 comments on commit 98ce047

Please sign in to comment.