This commit is contained in:
Ruben Fiszel
2025-02-25 20:36:52 +01:00
parent 3a5b9b7a01
commit 98eda4880e

View File

@@ -77,12 +77,10 @@
return
}
components = components.filter((x) => x.id !== cid)
console.log('deleteComponent', cid, index, components, items)
delete $errorByComponent[cid]
$selectedComponent = [id]
$app = $app
console.log('items', items)
// Remove the corresponding item from the items array
items = items.filter((item) => item.originalIndex !== index)
}