fix missed conversion to ref #2445

Merged
konrad merged 1 commits from dpschen/frontend:feature/fix-ListList-script-setup into main 2022-09-29 09:45:00 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -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>