bugfix: compnent template fixes

This commit is contained in:
Michael Shanks 2020-02-27 11:56:39 +00:00
parent d7ac067a3c
commit ac8385be46
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 => const columnHeaders = indexSchema =>

View File

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