fix: lists disappearing when updating their namespace

This commit is contained in:
kolaente 2021-09-24 20:51:43 +02:00
parent 1bc6d66895
commit 77f8b27dc6
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -19,6 +19,10 @@ export default {
return
}
if (!namespace.lists || namespace.lists.length === 0) {
namespace.lists = state.namespaces[namespaceIndex].lists
}
Vue.set(state.namespaces, namespaceIndex, namespace)
},
setListInNamespaceById(state, list) {