Skip to content
Snippets Groups Projects
Commit 3c0696d1 authored by Pan's avatar Pan
Browse files

fix[tags-view]: fixed delete cachedViews bug #395

parent 76a6eb12
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ const tagsView = { ...@@ -25,7 +25,7 @@ const tagsView = {
for (const i of state.cachedViews) { for (const i of state.cachedViews) {
if (i === view.name) { if (i === view.name) {
const index = state.cachedViews.indexOf(i) const index = state.cachedViews.indexOf(i)
state.cachedViews.splice(index, index + 1) state.cachedViews.splice(index, 1)
break break
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment