diff --git a/webapp/src/components/genericComponents/actionLogDisplay.vue b/webapp/src/components/genericComponents/actionLogDisplay.vue index bbd2b616..0fb81c2a 100644 --- a/webapp/src/components/genericComponents/actionLogDisplay.vue +++ b/webapp/src/components/genericComponents/actionLogDisplay.vue @@ -34,6 +34,15 @@ export default { watch: { log: function() { + this.scrollToBottom(); + }, + taskStatus: function() { + this.scrollToBottom(); + } + }, + + methods: { + scrollToBottom() { this.$nextTick(function() { let viewer = this.$refs.logContainer; viewer.scrollTop = viewer.scrollHeight;