Add the jump type name in the table

This commit is contained in:
Sébastien ANDRE
2023-08-17 11:28:56 +02:00
parent 06f569c4d4
commit 9237e14bcf
2 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,13 @@
</td> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="jumpType">
<th mat-header-cell *matHeaderCellDef>Jump Type</th>
<td mat-cell *matCellDef="let element">
<span class="smallSpanWithBreakWord" [innerHTML]="element.jumpType.name"></span>
</td>
</ng-container>
<ng-container matColumnDef="nbMinutes"> <ng-container matColumnDef="nbMinutes">
<th mat-header-cell *matHeaderCellDef>Minutes</th> <th mat-header-cell *matHeaderCellDef>Minutes</th>
<td mat-cell *matCellDef="let element"> <td mat-cell *matCellDef="let element">

View File

@@ -26,6 +26,7 @@ export class ListOfTunnelFlightsComponent implements OnInit {
public displayedColumns: Array<string> = [ public displayedColumns: Array<string> = [
"id", "id",
"tunnel", "tunnel",
"jumpType",
"nbMinutes", "nbMinutes",
"notes", "notes",
"flightDate" "flightDate"