fix missed conversion to ref (#2445)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2445
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
Dominik Pschenitschni 2022-09-29 09:44:58 +00:00 committed by konrad
parent c421701fb7
commit 94d6f38e89

View file

@ -197,7 +197,7 @@ const DRAG_OPTIONS = {
} as const
const taskEditTask = ref(null)
const taskEditTask = ref<ITask | null>(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
}
</script>