diff --git a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts index 13b74da5..274f9dd2 100644 --- a/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts +++ b/src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts @@ -336,10 +336,12 @@ export class NewTemplateDialogComponent implements OnInit { } importImage(event, imageName) { + this.progressService.activate(); this.computeChecksumMd5(event.target.files[0], false).then((output) => { let imageToInstall = this.applianceToInstall.images.filter(n => n.filename === imageName)[0]; if (imageToInstall.md5sum !== output) { + this.progressService.deactivate(); const dialogRef = this.dialog.open(InformationDialogComponent, { width: '400px', height: '200px',