diff --git a/webapp/src/components/genericComponents/taskSubmitter.vue b/webapp/src/components/genericComponents/taskSubmitter.vue index a8dd6737..041e638c 100644 --- a/webapp/src/components/genericComponents/taskSubmitter.vue +++ b/webapp/src/components/genericComponents/taskSubmitter.vue @@ -35,12 +35,33 @@ - @@ -125,7 +146,14 @@ export default { } }, - created() {}, + watch: { + log: function() { + this.$nextTick(function() { + let viewer = this.$refs.logContainer; + viewer.scrollTop = viewer.scrollHeight; + }); + } + }, mounted() { // Check for already running tasks @@ -192,7 +220,7 @@ export default { this.$emit("taskStarted", this.taskId); try { let response = await axios.post(this.submitUrl, this.submitData); - if (this.statusModal) { + if (this.modalProgress) { UIkit.modal(this.$refs.statusModal).show(); } // Start the store polling TaskId for success @@ -283,6 +311,32 @@ export default {