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
|
||||
// in the component manifest.
|
||||
$: empty =
|
||||
(interactive && !children.length && hasChildren) ||
|
||||
hasMissingRequiredSettings
|
||||
!isBlock &&
|
||||
((interactive && !children.length && hasChildren) ||
|
||||
hasMissingRequiredSettings)
|
||||
$: emptyState = empty && showEmptyState
|
||||
|
||||
// Enrich component settings
|
||||
|
|
Loading…
Reference in New Issue