Highlight playtime under threshold in red in Staff Playtime view.
This commit is contained in:
parent
0a96593992
commit
ff85b42190
|
|
@ -26,7 +26,9 @@
|
|||
|
||||
<ng-container matColumnDef="playtime">
|
||||
<th mat-header-cell *matHeaderCellDef> Playtime</th>
|
||||
<td mat-cell *matCellDef="let row"> {{ minutesToHm(row.playtime) }}</td>
|
||||
<td mat-cell *matCellDef="let row"
|
||||
[style.color]="row.playtime < 420 ? 'red' : ''"> {{ minutesToHm(row.playtime) }}
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user