Collection: fixed changing position in element issue
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user