diff --git a/app/frontend/src/javascript/components/family-account/child-form.tsx b/app/frontend/src/javascript/components/family-account/child-form.tsx index 1d6ebdf2e..00887017f 100644 --- a/app/frontend/src/javascript/components/family-account/child-form.tsx +++ b/app/frontend/src/javascript/components/family-account/child-form.tsx @@ -108,7 +108,7 @@ export const ChildForm: React.FC = ({ child, onSubmit, supportin label={t('app.public.child_form.email')} /> - {!isPrivileged() && <> + {!isPrivileged() && supportingDocumentsTypes?.length > 0 && <>

{t('app.public.child_form.supporting_documents')}

{output.supporting_document_files_attributes.map((sf, index) => { return ( @@ -132,7 +132,7 @@ export const ChildForm: React.FC = ({ child, onSubmit, supportin - {isPrivileged() && <> + {isPrivileged() && supportingDocumentsTypes?.length > 0 && <>

{t('app.public.child_form.supporting_documents')}

{output.supporting_document_files_attributes.map((sf, index) => { @@ -158,7 +158,7 @@ export const ChildForm: React.FC = ({ child, onSubmit, supportin
} - {isPrivileged() && <> + {isPrivileged() && supportingDocumentsTypes?.length > 0 && <>

{t('app.public.child_form.refuse_documents_info')}