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:
parent
c421701fb7
commit
94d6f38e89
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ const DRAG_OPTIONS = {
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
|
|
||||||
const taskEditTask = ref(null)
|
const taskEditTask = ref<ITask | null>(null)
|
||||||
const isTaskEdit = ref(false)
|
const isTaskEdit = ref(false)
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
@ -310,7 +310,7 @@ async function saveTaskPosition(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const updatedTask = await this.$store.dispatch('tasks/update', newTask)
|
const updatedTask = await this.$store.dispatch('tasks/update', newTask)
|
||||||
this.tasks[e.newIndex] = updatedTask
|
tasks.value[e.newIndex] = updatedTask
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue