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
1 changed files with 1 additions and 1 deletions

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