default index name - dont use collectionName

(collectionName is now a number)
This commit is contained in:
Michael Shanks 2020-03-25 11:31:58 +00:00
parent 87742d6e58
commit ecf5015c36
1 changed files with 1 additions and 1 deletions

View File

@ -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]
}