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