Fix pour ajouter en base les nouveaux sauts
+ affichage plus complet des sauts
This commit is contained in:
@@ -4,6 +4,24 @@
|
||||
<td mat-cell *matCellDef="let element">{{element.id}}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="jumpDate">
|
||||
<th mat-header-cell *matHeaderCellDef>Date</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.jumpDate | date: 'yyyy-MM-dd'}} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="jumpTypeId">
|
||||
<th mat-header-cell *matHeaderCellDef>Jump Type</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.jumpTypeId}}</td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="aircraftId">
|
||||
<th mat-header-cell *matHeaderCellDef>Aircraft</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.aircraftId}}</td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="dropZoneId">
|
||||
<th mat-header-cell *matHeaderCellDef>Drop Zone</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.dropZoneId}}</td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
</table>
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ServiceComm } from '../../services/serviceComm';
|
||||
})
|
||||
export class ListOfJumpsComponent implements OnInit {
|
||||
public listOfJumps: Observable<Array<JumpResp>>;
|
||||
public displayedColumns: Array<string> = ['id'];
|
||||
public displayedColumns: Array<string> = ['id', 'jumpDate', 'jumpTypeId', 'aircraftId', 'dropZoneId',];
|
||||
public dataSourceTable;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user