mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 04:57:51 +00:00
Progress dialog - cancellation
This commit is contained in:
parent
070b84243e
commit
adac191ded
@ -170,8 +170,9 @@ export class ProjectMapComponent implements OnInit {
|
||||
const progress = this.progressDialogService.open();
|
||||
|
||||
const subscription = creation.subscribe((created_snapshot: Snapshot) => {
|
||||
console.log(created_snapshot);
|
||||
progress.close();
|
||||
|
||||
}, () => {
|
||||
|
||||
}, () => {
|
||||
progress.close();
|
||||
});
|
||||
@ -181,7 +182,6 @@ export class ProjectMapComponent implements OnInit {
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user