From 34665b4b9380fb4e1950fd7144ad3fe97c942f22 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 4 Mar 2020 10:45:34 +0000 Subject: [PATCH] bugfix: all_contacts hardcoded index name --- .../materialdesign-components/src/Templates/indexDatatable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }, }, ],