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