feat: don't update the bucket after updating task position
This commit is contained in:
parent
c329c37c7b
commit
cc32ca244c
1 changed files with 3 additions and 3 deletions
|
@ -405,7 +405,7 @@ export default {
|
||||||
tasks,
|
tasks,
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$store.dispatch('kanban/updateBucket', newBucket)
|
this.$store.commit('kanban/setBucketById', newBucket)
|
||||||
},
|
},
|
||||||
|
|
||||||
updateTaskPosition(e) {
|
updateTaskPosition(e) {
|
||||||
|
@ -428,10 +428,10 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$store.dispatch('tasks/update', newTask)
|
this.$store.dispatch('tasks/update', newTask)
|
||||||
// .finally(() => {
|
.finally(() => {
|
||||||
this.taskUpdating[task.id] = false
|
this.taskUpdating[task.id] = false
|
||||||
this.oneTaskUpdating = false
|
this.oneTaskUpdating = false
|
||||||
// })
|
})
|
||||||
},
|
},
|
||||||
toggleShowNewTaskInput(bucketId) {
|
toggleShowNewTaskInput(bucketId) {
|
||||||
this.showNewTaskInput[bucketId] = !this.showNewTaskInput[bucketId]
|
this.showNewTaskInput[bucketId] = !this.showNewTaskInput[bucketId]
|
||||||
|
|
Loading…
Reference in a new issue