Fix crash when component definition is not found
This commit is contained in:
parent
5f5ca5fdf7
commit
347a0d1d0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue