Remove "Last Played" column from Staff Playtime view and enhance time formatting in minutesToHm method to include days.
This commit is contained in:
@@ -29,11 +29,6 @@
|
||||
<td mat-cell *matCellDef="let row"> {{ minutesToHm(row.playtime) }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="last_played">
|
||||
<th mat-header-cell *matHeaderCellDef> Last Played</th>
|
||||
<td mat-cell *matCellDef="let row"> {{ row.last_played | date:'medium' }}</td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user