Ajout des formulaires de création de

"Aircraft", "JumpType", "Gear" et "DZ".
This commit is contained in:
Sébastien André
2019-11-28 16:44:53 +01:00
parent 54f5398af1
commit b1613ab15b
26 changed files with 212 additions and 7 deletions

View File

@@ -23,9 +23,10 @@ export class ListOfDzsComponent implements OnInit {
'email',
'type'
];
public dataSourceTable;
public dataSourceTable: MatTableDataSource<DropZoneResp>;
public resultsLength = 0;
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
public showAddForm: boolean;
constructor(
private serviceApiGet: ServiceApiGet,
@@ -54,4 +55,8 @@ export class ListOfDzsComponent implements OnInit {
public removeToFavorite(dropzone: DropZoneResp) {
dropzone.isFavorite = this.serviceApiPut.RemoveFavoriteDropZone(dropzone);
}
public add() {
this.showAddForm = true;
}
}