fix: reset drag.value
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominik Pschenitschni 2024-06-19 14:18:21 +02:00 committed by konrad
parent 4c5bb3f114
commit c90ee0142a

View File

@ -71,6 +71,8 @@ watch(
const projectUpdating = ref<{ [id: IProject['id']]: boolean }>({})
async function saveProjectPosition(e: SortableEvent) {
drag.value = false
if (!e.newIndex && e.newIndex !== 0) return
const projectsActive = availableProjects.value