From cc32ca244c89f7baf1679343f08216f4224fd3ae Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 17 Oct 2021 14:52:48 +0200 Subject: [PATCH] feat: don't update the bucket after updating task position --- src/views/list/views/Kanban.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/list/views/Kanban.vue b/src/views/list/views/Kanban.vue index e91c1a2d4..7cd74f742 100644 --- a/src/views/list/views/Kanban.vue +++ b/src/views/list/views/Kanban.vue @@ -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]