From 50fa592aada3f01de039bbdc636102c8f91d71e5 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Mon, 11 Oct 2021 21:40:36 +0200 Subject: [PATCH] fix: wrong async order --- src/views/tasks/TaskDetailView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/tasks/TaskDetailView.vue b/src/views/tasks/TaskDetailView.vue index 1a65f93d4..4ada14bf4 100644 --- a/src/views/tasks/TaskDetailView.vue +++ b/src/views/tasks/TaskDetailView.vue @@ -694,9 +694,9 @@ export default { } }, async changeList(list) { + this.$store.commit('kanban/removeTaskInBucket', this.task) this.task.listId = list.id await this.saveTask() - this.$store.commit('kanban/removeTaskInBucket', this.task) }, toggleFavorite() { this.task.isFavorite = !this.task.isFavorite