Fix double empty state around blocks
This commit is contained in:
parent
2d64ae59c6
commit
bdae511371
|
@ -135,8 +135,9 @@
|
||||||
// Empty states can be shown for these components, but can be disabled
|
// Empty states can be shown for these components, but can be disabled
|
||||||
// in the component manifest.
|
// in the component manifest.
|
||||||
$: empty =
|
$: empty =
|
||||||
(interactive && !children.length && hasChildren) ||
|
!isBlock &&
|
||||||
hasMissingRequiredSettings
|
((interactive && !children.length && hasChildren) ||
|
||||||
|
hasMissingRequiredSettings)
|
||||||
$: emptyState = empty && showEmptyState
|
$: emptyState = empty && showEmptyState
|
||||||
|
|
||||||
// Enrich component settings
|
// Enrich component settings
|
||||||
|
|
Loading…
Reference in New Issue