Ajout d'une pop-in pour l'ajout

This commit is contained in:
Sébastien André
2020-03-25 14:15:10 +01:00
parent aa959578dd
commit c7a8e9d3bd
11 changed files with 112 additions and 106 deletions

View File

@@ -1,6 +1,5 @@
<div *ngIf="dataSourceTable != null else loading" class="table-container">
<button (click)="add()">Add a aircraft</button>
<app-new-aircraft *ngIf="showAddForm === true"></app-new-aircraft>
<button mat-button (click)="openDialogToAdd()" class="btn btn-primary">Add a aircraft</button>
<table mat-table [dataSource]="dataSourceTable">
<ng-container matColumnDef="id">