diff --git a/frontend/src/pages/admin/CustomerDetailPage.tsx b/frontend/src/pages/admin/CustomerDetailPage.tsx index 27e9ec57..5b509168 100644 --- a/frontend/src/pages/admin/CustomerDetailPage.tsx +++ b/frontend/src/pages/admin/CustomerDetailPage.tsx @@ -20,6 +20,7 @@ import { import { format } from 'date-fns'; import { Button, Card, Input, Loading } from '../../components/common'; +import { SUPPORTED_LANGUAGES } from '../../components/common/LanguageSelector'; import { AssignedEventsDialog } from '../../components/admin/AssignedEventsDialog'; import { customerAdminService, @@ -227,11 +228,12 @@ export const CustomerDetailPage: React.FC = () => { onChange={setField('preferredLanguage')} className="input" > - - - - - + {/* Drive the option list from SUPPORTED_LANGUAGES so adding a + locale (#510 added es; fr was already missing here) only + needs to touch LanguageSelector. */} + {SUPPORTED_LANGUAGES.map((lang) => ( + + ))}