fix: reset drag.value
This commit is contained in:
parent
4c5bb3f114
commit
c90ee0142a
@ -71,6 +71,8 @@ watch(
|
|||||||
const projectUpdating = ref<{ [id: IProject['id']]: boolean }>({})
|
const projectUpdating = ref<{ [id: IProject['id']]: boolean }>({})
|
||||||
|
|
||||||
async function saveProjectPosition(e: SortableEvent) {
|
async function saveProjectPosition(e: SortableEvent) {
|
||||||
|
drag.value = false
|
||||||
|
|
||||||
if (!e.newIndex && e.newIndex !== 0) return
|
if (!e.newIndex && e.newIndex !== 0) return
|
||||||
|
|
||||||
const projectsActive = availableProjects.value
|
const projectsActive = availableProjects.value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user