fix: set the current list when opening a task
This commit is contained in:
@ -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 New Issue
Block a user