Skip to content

Commit

Permalink
fix: fix default activeTab when files tab is not enabled but history tab
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Nov 24, 2024
1 parent be4e08d commit db145c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/panels/StatusPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit db145c3

Please sign in to comment.