#5 BulkList sorted by name

This commit is contained in:
Patrick Haßel 2022-10-26 20:16:45 +02:00
parent e7080a058c
commit 223e9baf4a

View File

@ -4,7 +4,7 @@
<th>Bezeichnung</th> <th>Bezeichnung</th>
<th>&nbsp;</th> <th>&nbsp;</th>
</tr> </tr>
<tr *ngFor="let bulk of bulks; trackBy: Bulk.trackBy"> <tr *ngFor="let bulk of bulks.sort(Bulk.compareName); trackBy: Bulk.trackBy">
<td class="boolean" (click)="set(bulk, 'enabled', !bulk.enabled)" [class.true]="bulk.enabled" [class.false]="!bulk.enabled"> <td class="boolean" (click)="set(bulk, 'enabled', !bulk.enabled)" [class.true]="bulk.enabled" [class.false]="!bulk.enabled">
<fa-icon *ngIf="bulk.enabled" [icon]="faCheckCircle"></fa-icon> <fa-icon *ngIf="bulk.enabled" [icon]="faCheckCircle"></fa-icon>