Skip to content
Snippets Groups Projects
Commit b9a023ea authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

hide import-success message, closes #3464

Closes #3464

Merge request studip/studip!2363
parent 64b09e25
No related branches found
No related tags found
No related merge requests found
...@@ -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() {
......
...@@ -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);
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment