Add manifest option to prevent showing component empty states
This commit is contained in:
parent
7e8e482f8f
commit
f76898d80e
|
@ -36,7 +36,10 @@
|
|||
$: id = instance._id
|
||||
$: name = instance._instanceName
|
||||
$: empty =
|
||||
!children.length && definition?.hasChildren && $builderStore.inBuilder
|
||||
!children.length &&
|
||||
definition?.hasChildren &&
|
||||
definition?.showEmptyState !== false &&
|
||||
$builderStore.inBuilder
|
||||
$: updateComponentProps(instance, $context)
|
||||
$: selected =
|
||||
$builderStore.inBuilder &&
|
||||
|
|
|
@ -1548,6 +1548,7 @@
|
|||
"icon": "Table",
|
||||
"styleable": true,
|
||||
"hasChildren": true,
|
||||
"showEmptyState": false,
|
||||
"settings": [
|
||||
{
|
||||
"type": "dataProvider",
|
||||
|
|
Loading…
Reference in New Issue