fix missed conversion to ref
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
bbf4ef4697
commit
d38a81df78
|
@ -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>
|
||||||
|
|
||||||
|
|
Reference in New Issue