mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-09 20:12:53 +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 progress = this.progressDialogService.open();
|
||||||
|
|
||||||
const subscription = creation.subscribe((created_snapshot: Snapshot) => {
|
const subscription = creation.subscribe((created_snapshot: Snapshot) => {
|
||||||
console.log(created_snapshot);
|
|
||||||
progress.close();
|
}, () => {
|
||||||
|
|
||||||
}, () => {
|
}, () => {
|
||||||
progress.close();
|
progress.close();
|
||||||
});
|
});
|
||||||
@ -181,7 +182,6 @@ export class ProjectMapComponent implements OnInit {
|
|||||||
subscription.unsubscribe();
|
subscription.unsubscribe();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user