From ecf5015c367dc7aade555bc35f85436a5c69b6da Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 25 Mar 2020 11:31:58 +0000 Subject: [PATCH] default index name - dont use collectionName (collectionName is now a number) --- packages/builder/src/builderStore/store/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builderStore/store/backend.js b/packages/builder/src/builderStore/store/backend.js index ded766e755..f6051dd4ba 100644 --- a/packages/builder/src/builderStore/store/backend.js +++ b/packages/builder/src/builderStore/store/backend.js @@ -183,7 +183,7 @@ export const saveCurrentNode = store => () => { const defaultIndex = templateApi(state.hierarchy).getNewIndexTemplate( cloned.parent() ) - defaultIndex.name = `all_${cloned.collectionName}` + defaultIndex.name = `all_${cloned.name}` defaultIndex.allowedRecordNodeIds = [cloned.nodeId] }