Fix sur les ajouts d'infos
This commit is contained in:
@@ -28,7 +28,8 @@ export class ListOfAircraftsComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.serviceComm.refreshRequest.subscribe(action => {
|
||||
if (action === AddAction.Gear) {
|
||||
if (action === AddAction.Aircraft) {
|
||||
this.dialog.closeAll();
|
||||
this.getListOfAircrafts();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user