1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00

bugfix: compnent template fixes

This commit is contained in:
Michael Shanks 2020-02-27 11:56:39 +00:00
parent f54f2fa4c3
commit 762e73c052
2 changed files with 10 additions and 1 deletions

View file

@ -33,6 +33,15 @@ const tableProps = (index, indexSchema) => ({
],
},
],
onLoad: [
{
"##eventHandlerType": "List Records",
parameters: {
indexKey: "/all_contacts",
statePath: "all_contacts"
}
}
]
})
const columnHeaders = indexSchema =>

View file

@ -12,7 +12,7 @@ const outerContainer = record => ({
{
"##eventHandlerType": "Get New Record",
parameters: {
collectionKey: record.collectionKey,
collectionKey: record.collectionNodeKey(),
childRecordType: record.name,
statePath: record.name,
},