budibase/packages/server/appPackages/testApp2/components/customer/customer homepage.json

37 lines
787 B
JSON

{
"inherits": "@budibase/standard-components/container",
"name": "customer/customer homepage",
"props": {
"className": "d-flex flex-column h-100",
"children": [
{
"component": {
"_component": "customer/homepage buttons"
}
},
{
"component": {
"_component": "all_customers Table"
},
"className": "flex-gow-1 overflow-auto"
}
],
"onLoad": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingcustomer",
"value": ""
}
},
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_customers",
"indexKey": "/all_customers"
}
}
]
}
}