diff --git a/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx b/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx index c0e075d4e..e09c995bc 100644 --- a/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx +++ b/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx @@ -65,6 +65,7 @@ export function DocumentSlots({ const required = requirements.filter( (r) => r.mode === 'ALWAYS' || + r.mode === 'OPTIONAL' || (r.mode === 'CONDITIONAL' && conditionHolds(r.conditionExpression, formData)), ); @@ -99,7 +100,7 @@ export function DocumentSlots({ return ( )} + {requirement.mode === 'OPTIONAL' && ( + + optional + + )} {uploaded && !flagRemark && ( }> uploaded