diff --git a/packages/materialdesign-components/src/Templates/indexDatatable.js b/packages/materialdesign-components/src/Templates/indexDatatable.js index 4042ec18c0..3ae9da003a 100644 --- a/packages/materialdesign-components/src/Templates/indexDatatable.js +++ b/packages/materialdesign-components/src/Templates/indexDatatable.js @@ -37,8 +37,8 @@ const tableProps = (index, indexSchema) => ({ { "##eventHandlerType": "List Records", parameters: { - indexKey: "/all_contacts", - statePath: "all_contacts", + indexKey:index.nodeKey(), + statePath: index.name, }, }, ],