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 4c5e5f9716
commit f3a9d138d7
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( const defaultIndex = templateApi(state.hierarchy).getNewIndexTemplate(
cloned.parent() cloned.parent()
) )
defaultIndex.name = `all_${cloned.collectionName}` defaultIndex.name = `all_${cloned.name}`
defaultIndex.allowedRecordNodeIds = [cloned.nodeId] defaultIndex.allowedRecordNodeIds = [cloned.nodeId]
} }