From 94d6f38e89174f879be4e5b1897b52603b40a745 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 29 Sep 2022 09:44:58 +0000 Subject: [PATCH] fix missed conversion to ref (#2445) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2445 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/views/list/ListList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/list/ListList.vue b/src/views/list/ListList.vue index e92da522..fa5f0997 100644 --- a/src/views/list/ListList.vue +++ b/src/views/list/ListList.vue @@ -197,7 +197,7 @@ const DRAG_OPTIONS = { } as const -const taskEditTask = ref(null) +const taskEditTask = ref(null) const isTaskEdit = ref(false) const { @@ -310,7 +310,7 @@ async function saveTaskPosition(e) { } const updatedTask = await this.$store.dispatch('tasks/update', newTask) - this.tasks[e.newIndex] = updatedTask + tasks.value[e.newIndex] = updatedTask }