diff --git a/web/frontend/src/pages/form/components/AddQuestionModal.tsx b/web/frontend/src/pages/form/components/AddQuestionModal.tsx index 480a888f..d9aff395 100644 --- a/web/frontend/src/pages/form/components/AddQuestionModal.tsx +++ b/web/frontend/src/pages/form/components/AddQuestionModal.tsx @@ -191,7 +191,7 @@ const AddQuestionModal: FC = ({ - {language === 'en' && ( + {(language === 'en' || !['en', 'fr', 'de'].includes(language)) && ( handleChange('Title')(e)} @@ -241,7 +241,7 @@ const AddQuestionModal: FC = ({ - {language === 'en' && ( + {(language === 'en' || !['en', 'fr', 'de'].includes(language)) && ( handleChange('Hint')(e)} diff --git a/web/frontend/src/pages/form/components/SubjectComponent.tsx b/web/frontend/src/pages/form/components/SubjectComponent.tsx index 08e4a16b..74084b12 100644 --- a/web/frontend/src/pages/form/components/SubjectComponent.tsx +++ b/web/frontend/src/pages/form/components/SubjectComponent.tsx @@ -307,7 +307,7 @@ const SubjectComponent: FC = ({ {titleChanging ? (
- {language === 'en' && ( + {(language === 'en' || !['en', 'fr', 'de'].includes(language)) && (