From db145c3736a88024e01df47da08c3624c8a18423 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 24 Nov 2024 16:01:45 +0100 Subject: [PATCH] fix: fix default activeTab when files tab is not enabled but history tab Signed-off-by: Stefan Dej --- src/components/panels/StatusPanel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/panels/StatusPanel.vue b/src/components/panels/StatusPanel.vue index 4e278ef68..968f3f303 100644 --- a/src/components/panels/StatusPanel.vue +++ b/src/components/panels/StatusPanel.vue @@ -396,7 +396,8 @@ export default class StatusPanel extends Mixins(BaseMixin) { mounted() { if (this.current_filename !== '') this.activeTab = 'status' - if (!this.displayFilesTab) this.activeTab = 'jobqueue' + if (!this.displayFilesTab) this.activeTab = 'history' + if (!this.displayHistoryTab) this.activeTab = 'jobqueue' } @Watch('current_filename')