1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13: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 90b3e2a16d
commit 2ab40d51dc

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