1
0

fix: vuex store mutation violation when archiving a namespace

This commit is contained in:
kolaente
2022-01-26 14:36:32 +01:00
parent 9e4ea9e597
commit fdd2e7e538
2 changed files with 10 additions and 9 deletions

View File

@ -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
}