Browse Source

Update logic for determining whether to show empty state or not

pull/3476/head
Andrew Kingston 5 years ago
parent
commit
2ab40d51dc
  1. 2
      packages/client/src/components/Component.svelte

2
packages/client/src/components/Component.svelte

@ -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

Loading…
Cancel
Save