Commit e30b160e authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Added mistakenly dropped context argument in the GUI that prevented reference resolution.

parent 401fa0b9
Pipeline #100367 passed with stages
in 23 minutes and 43 seconds
......@@ -156,7 +156,7 @@ ArchiveConfigForm.propTypes = ({
})
function archiveAdaptorFactory(data, sectionDef) {
return new SectionAdaptor(data, sectionDef || rootSections.find(def => def.name === 'EntryArchive'), {archive: data})
return new SectionAdaptor(data, sectionDef || rootSections.find(def => def.name === 'EntryArchive'), undefined, {archive: data})
}
function archiveSearchOptions(data) {
......@@ -585,7 +585,7 @@ function Section({section, def, parent}) {
Section.propTypes = ({
section: PropTypes.object.isRequired,
def: PropTypes.object.isRequired,
parent: PropTypes.object.isRequired
parent: PropTypes.any
})
function Quantity({value, def}) {
......
Markdown is supported
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