Commit 3c0696d1 authored by Pan's avatar Pan

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

parent 76a6eb12
...@@ -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
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment