Commit 4e18645f authored by Amir Golparvar's avatar Amir Golparvar
Browse files

Using _allBaseSections rather than baseSections for searching EntryData.

parent fdf007aa
Pipeline #135928 passed with stages
in 53 minutes and 26 seconds
......@@ -37,7 +37,7 @@ const CreateEntry = React.memo(function CreateEntry(props) {
if (definition.m_def !== SectionMDef) {
return false
}
return definition.base_sections?.find(baseSection => baseSection.name === 'EntryData')
return definition._allBaseSections?.find(baseSection => baseSection.name === 'EntryData')
}).map(dataSection => {
let label = dataSection.name
const entry_name = archive?.metadata?.entry_name
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment