diff --git a/services/web/frontend/js/features/settings/components/emails/add-email/institution-fields.tsx b/services/web/frontend/js/features/settings/components/emails/add-email/institution-fields.tsx index 79074d851d..d0f9308e08 100644 --- a/services/web/frontend/js/features/settings/components/emails/add-email/institution-fields.tsx +++ b/services/web/frontend/js/features/settings/components/emails/add-email/institution-fields.tsx @@ -107,7 +107,13 @@ function InstitutionFields({ return [] } - return universities[countryCode]?.map(({ name }) => name) ?? [] + return ( + universities[countryCode] + ?.map(({ name }) => name) + .filter(name => + name.trim().toLowerCase().includes(universityName.toLowerCase()) + ) ?? [] + ) } const handleShowInstitutionFields = () => {