fix[tags-view]: fixed bug in DEL_OTHERS_VIEWS (#368)
This commit is contained in:
		| @@ -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, 1) |           state.cachedViews.splice(index, index + 1) | ||||||
|           break |           break | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user