1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

Update logic for determining whether to show empty state or not

This commit is contained in:
Andrew Kingston 2021-11-18 20:38:55 +00:00
parent bfe562c9ea
commit 9057b8e521

View file

@ -76,7 +76,7 @@
// coerced to booleans
$: editable = !!definition?.editable
$: hasChildren = !!definition?.hasChildren
$: showEmptyState = !!definition?.showEmptyState
$: showEmptyState = definition?.showEmptyState !== false
// Interactive components can be selected, dragged and highlighted inside
// the builder preview