Skip to content

Commit

Permalink
fix: auto refresh should not force activation of owning tabs (tiny-cr…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Aug 20, 2024
1 parent c082a0c commit b506e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/stores/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ const useTabStore = defineStore('tab', {
})
this.tabList.push(tabItem)
tabIndex = this.tabList.length - 1
this._setActivatedIndex(tabIndex, true, subTab)
} else {
const tab = this.tabList[tabIndex]
tab.blank = false
Expand All @@ -219,7 +220,6 @@ const useTabStore = defineStore('tab', {
tab.value = undefined
}
}
this._setActivatedIndex(tabIndex, true, subTab)
},

/**
Expand Down

0 comments on commit b506e8a

Please sign in to comment.