fix: set the current list when opening a task
This commit is contained in:
parent
cc32ca244c
commit
1c8e26bdc6
2 changed files with 10 additions and 7 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue