1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

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 =>

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