fix: vuex store mutation violation when archiving a namespace
This commit is contained in:
parent
9e4ea9e597
commit
fdd2e7e538
2 changed files with 10 additions and 9 deletions
|
|
@ -23,8 +23,6 @@ export default {
|
|||
return
|
||||
}
|
||||
|
||||
// FIXME: direct manipulation of the prop
|
||||
// might not be a problem since this is happening in the mutation
|
||||
if (!namespace.lists || namespace.lists.length === 0) {
|
||||
namespace.lists = state.namespaces[namespaceIndex].lists
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue