2019-10-18 18:32:03 +02:00
|
|
|
{
|
2020-02-14 12:51:45 +01: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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|