diff --git a/webapp/src/components/genericComponents/taskSubmitter.vue b/webapp/src/components/genericComponents/taskSubmitter.vue index 5694a8f6..f8b7cb67 100644 --- a/webapp/src/components/genericComponents/taskSubmitter.vue +++ b/webapp/src/components/genericComponents/taskSubmitter.vue @@ -6,10 +6,25 @@
+
+
+
@@ -48,19 +63,25 @@ {{ item.message }}
- The task failed due to an error - use the button below to close this - dialog. + The task failed due to an error. There may be more information in + the log. +
+
+ The task was cancelled. +
+
+ The task completed successfully.
+
-
@@ -162,6 +183,13 @@ export default { var progress = this.progress <= 100 ? this.progress : 100; var styleString = `width: ${progress}%`; return styleString; + }, + indeterminateProgressBar: function() { + if (this.taskStatus == "pending") return true; + if ((this.taskStatus == "running") & !this.progress) { + return true; + } + return false; } }, @@ -266,10 +294,6 @@ export default { if (this.selfUpdate) { this.getFormData(); } - if (this.taskStatus != "error") { - // Leave the modal up if there was an error. - UIkit.modal(this.$refs.statusModal).hide(); - } } },