diff --git a/src/components/tasks/partials/kanban-card.vue b/src/components/tasks/partials/kanban-card.vue index f285f1bce..dfc89c3df 100644 --- a/src/components/tasks/partials/kanban-card.vue +++ b/src/components/tasks/partials/kanban-card.vue @@ -92,8 +92,10 @@ export default { methods: { markTaskAsDone(task) { this.loadingInternal = true - task.done = !task.done - this.$store.dispatch('tasks/update', task) + this.$store.dispatch('tasks/update', { + ...task, + done: !task.done, + }) .then(() => { if (task.done) { playPop()