LayerDetail sort fix

This commit is contained in:
Michał Zieliński
2023-08-22 21:29:10 +02:00
parent d019189ec1
commit 093867e88d
3 changed files with 5 additions and 6 deletions

View File

@@ -30,15 +30,14 @@
</div>
<table mat-table [dataSource]="dataSource" matSort matSortActive="code" matSortDisableClear matSortDirection="desc">
<!-- ID Column -->
<ng-container matColumnDef="code">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Code</th>
<td mat-cell *matCellDef="let row"> {{row.code}} </td>
</ng-container>
<ng-container matColumnDef="value">
<ng-container matColumnDef="value1">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Value1</th>
<td mat-cell *matCellDef="let row"> {{row.value1 | number:'1.2-2'}} </td>
<td mat-cell *matCellDef="let row"> {{row.value1}} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns, sticky: true"></tr>