1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

Fix crash when component definition is not found

This commit is contained in:
Andrew Kingston 2021-11-18 14:24:10 +00:00
parent 4ce25fdf0b
commit c2bf1de547

View file

@ -78,7 +78,7 @@
$builderStore.inBuilder &&
($builderStore.previewType === "layout" || insideScreenslot) &&
!isBlock
$: editable = definition.editable
$: editable = definition?.editable
$: editing = editable && selected && $builderStore.editMode
$: draggable = !inDragPath && interactive && !isLayout && !isScreen
$: droppable = interactive && !isLayout && !isScreen