From 72487e3fb4243068c48fe48d727c8cac87e4dcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 24 May 2022 16:04:03 +0200 Subject: [PATCH] Web: only load task log tail when task log viewer is visible The code to fetch the task log tail is moved from `JobsView.vue` to `TaskLog.vue`, as that knows exactly when it's shown & hidden. The subscriptions to the task log updates will have to be managed in the same way; that's for another commit. --- web/app/src/components/footer/TaskLog.vue | 23 +++++++++++++++++++++-- web/app/src/views/JobsView.vue | 23 ----------------------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/web/app/src/components/footer/TaskLog.vue b/web/app/src/components/footer/TaskLog.vue index 780f451d..40ccc099 100644 --- a/web/app/src/components/footer/TaskLog.vue +++ b/web/app/src/components/footer/TaskLog.vue @@ -1,8 +1,9 @@