Skip to content
Snippets Groups Projects
Commit 15439b4b authored by David Siegfried's avatar David Siegfried
Browse files

hide import-success message, closes #3464

Closes #3464

Merge request studip/studip!2363
parent 690fd51c
Branches
No related tags found
No related merge requests found
...@@ -111,6 +111,10 @@ export default { ...@@ -111,6 +111,10 @@ export default {
return this.importFilesProgress === 100; return this.importFilesProgress === 100;
}, },
importDone() { importDone() {
if (!this.importZipFile) {
this.setImportFilesProgress(0);
this.setImportStructuresProgress(0);
}
return (this.importFilesProgress === 100 && this.importStructuresProgress === 100); return (this.importFilesProgress === 100 && this.importStructuresProgress === 100);
} }
}, },
......
...@@ -192,6 +192,10 @@ export default { ...@@ -192,6 +192,10 @@ export default {
return this.importFilesProgress === 100; return this.importFilesProgress === 100;
}, },
importDone() { importDone() {
if (!this.importZipFile) {
this.setImportFilesProgress(0);
this.setImportStructuresProgress(0);
}
return this.importFilesProgress === 100 && this.importStructuresProgress === 100; return this.importFilesProgress === 100 && this.importStructuresProgress === 100;
}, },
hasValidFile() { hasValidFile() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment