fix[tags-view]: fixed delete cachedViews bug #395
This commit is contained in:
parent
76a6eb12e7
commit
3c0696d1a9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const tagsView = {
|
|||
for (const i of state.cachedViews) {
|
||||
if (i === view.name) {
|
||||
const index = state.cachedViews.indexOf(i)
|
||||
state.cachedViews.splice(index, index + 1)
|
||||
state.cachedViews.splice(index, 1)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue