Collection: fixed changing position in element issue

This commit is contained in:
2026-04-12 01:56:03 +02:00
parent 178c688203
commit 255f24904c

View File

@@ -60,7 +60,7 @@ function onDrop(id, position) {
} }
postCollectionChangePosition(props.id, itemIdBeingGrabbed.value, position).then((res) => { postCollectionChangePosition(props.id, itemIdBeingGrabbed.value, position).then((res) => {
if (res.ok) { if (res.ok) {
fetchCollection() getCollection(data, error, props.id, limit, offset.value)
} else { } else {
res.json().then((json) => { res.json().then((json) => {
error.value = json error.value = json