fix: wrong async order
This commit is contained in:
parent
a3a3ef850c
commit
50fa592aad
1 changed files with 1 additions and 1 deletions
|
@ -694,9 +694,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async changeList(list) {
|
async changeList(list) {
|
||||||
|
this.$store.commit('kanban/removeTaskInBucket', this.task)
|
||||||
this.task.listId = list.id
|
this.task.listId = list.id
|
||||||
await this.saveTask()
|
await this.saveTask()
|
||||||
this.$store.commit('kanban/removeTaskInBucket', this.task)
|
|
||||||
},
|
},
|
||||||
toggleFavorite() {
|
toggleFavorite() {
|
||||||
this.task.isFavorite = !this.task.isFavorite
|
this.task.isFavorite = !this.task.isFavorite
|
||||||
|
|
Loading…
Reference in a new issue