diff --git a/src/projects/create/components/ProjectBasicDetailsForm.js b/src/projects/create/components/ProjectBasicDetailsForm.js index 3c0eee8bf..511bef36a 100644 --- a/src/projects/create/components/ProjectBasicDetailsForm.js +++ b/src/projects/create/components/ProjectBasicDetailsForm.js @@ -94,6 +94,7 @@ class ProjectBasicDetailsForm extends Component { // TODO we shoudl not update the props (section is coming from props) // further, it is not used for this component as we are not rendering spec screen section here validate={() => {}}//dummy + isCreation />
{description}
- {subSections.filter((subSection) => showHidden || !subSection.hidden).map(renderSubSection)} + {subSections.filter((subSection) => ( + // hide section marked with hiddenOnCreation during creation process + (!isCreation || !subSection.hiddenOnCreation) && + // hide hidden section, unless we not force to show them + (showHidden || !subSection.hidden) + )).map(renderSubSection)}