1
0

fix: set the current list when opening a task

This commit is contained in:
kolaente
2021-10-17 15:16:26 +02:00
parent cc32ca244c
commit 1c8e26bdc6
2 changed files with 10 additions and 7 deletions

View File

@ -510,7 +510,10 @@ export default {
},
parent: {
handler(parent) {
this.$store.commit(CURRENT_LIST, parent !== null ? parent.list : this.currentList)
const parentList = parent !== null ? parent.list : null
if (parentList !== null) {
this.$store.commit(CURRENT_LIST, parentList)
}
},
immediate: true,
},