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

37 lines
787 B
JSON
Raw Normal View History

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