Fix double empty state around blocks
This commit is contained in:
parent
4c2a0028d6
commit
1b08e88c6f
|
@ -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