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,
},