Skip to content

Commit

Permalink
fix: can not load the same key after delete and re-added (tiny-craft#226
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tiny-craft committed Apr 18, 2024
1 parent 33caf87 commit 1bf4b0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/stores/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ const useTabStore = defineStore('tab', {
if (keys == null) {
// select nothing
tab.selectedKeys = []
tab.activatedKey = null
} else if (typeof keys === 'string') {
tab.selectedKeys = [keys]
} else {
Expand Down

0 comments on commit 1bf4b0e

Please sign in to comment.