feat: don't update the bucket after updating task position

This commit is contained in:
kolaente 2021-10-17 14:52:48 +02:00
parent c329c37c7b
commit cc32ca244c
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

View File

@ -405,7 +405,7 @@ export default {
tasks,
}
this.$store.dispatch('kanban/updateBucket', newBucket)
this.$store.commit('kanban/setBucketById', newBucket)
},
updateTaskPosition(e) {
@ -428,10 +428,10 @@ export default {
}
this.$store.dispatch('tasks/update', newTask)
// .finally(() => {
.finally(() => {
this.taskUpdating[task.id] = false
this.oneTaskUpdating = false
// })
})
},
toggleShowNewTaskInput(bucketId) {
this.showNewTaskInput[bucketId] = !this.showNewTaskInput[bucketId]