From adac191dedde2023f33887880b749b9f4ad6d5f3 Mon Sep 17 00:00:00 2001 From: ziajka Date: Mon, 27 Nov 2017 11:08:33 +0100 Subject: [PATCH] Progress dialog - cancellation --- src/app/project-map/project-map.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/project-map/project-map.component.ts b/src/app/project-map/project-map.component.ts index 6a2fad3d..4a7c797e 100644 --- a/src/app/project-map/project-map.component.ts +++ b/src/app/project-map/project-map.component.ts @@ -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(); } }); - } }); }