Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 committed May 6, 2024
1 parent 475dce7 commit 0ea686c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { IsSwitchComponent } from './is-switch-component.interface';
<span
style="display: flex;
align-items: center;">
<ng-container *ngFor="let label of labels$ | async; let last = last"
><span [ngStyle]="{ 'font-weight': last ? 'bold' : 'normal' }">{{ label }}</span>
<ng-container *ngFor="let label of labels$ | async; let last = last; let index = index"
><span [ngStyle]="{ 'font-weight': last && index > 0 ? 'bold' : 'normal' }">{{ label }}</span>
<mat-icon *ngIf="!last">chevron_right</mat-icon>
</ng-container>
</span>
Expand Down

0 comments on commit 0ea686c

Please sign in to comment.