diff --git a/apps/admin/public/locales/fr/translations.json b/apps/admin/public/locales/fr/translations.json index 6a64d635f..54f0a2d05 100644 --- a/apps/admin/public/locales/fr/translations.json +++ b/apps/admin/public/locales/fr/translations.json @@ -113,7 +113,7 @@ "hide_types": "Cacher les types", "display_params": "Montrer les paramètres", "hide_params": "Cacher les paramètres", - "connection_problem": "Il y a un problème de connection", + "connection_problem": "Il y a un problème de connexion", "permissions": "Permissions", "permissions_settings_title": "Paramètres", "permissions_relation": "Relation", diff --git a/apps/admin/src/components/attributes/EditAttribute/EditAttributeTabs/ActionsListTab/ALCCard/ActionContent/Param/Param.tsx b/apps/admin/src/components/attributes/EditAttribute/EditAttributeTabs/ActionsListTab/ALCCard/ActionContent/Param/Param.tsx index 5d33cbc9f..8cbe19320 100644 --- a/apps/admin/src/components/attributes/EditAttribute/EditAttributeTabs/ActionsListTab/ALCCard/ActionContent/Param/Param.tsx +++ b/apps/admin/src/components/attributes/EditAttribute/EditAttributeTabs/ActionsListTab/ALCCard/ActionContent/Param/Param.tsx @@ -36,7 +36,7 @@ function Param({param, actionId, changeParam, setBlockCard, index}: IParamProps) //////////////////// SETTING VALUES ON CHANGE - const _onChange = (event: React.SyntheticEvent|React.FormEvent) => { + const _onChange = (event: React.SyntheticEvent | React.FormEvent) => { const target = event.target as HTMLInputElement; const value = param && correspondences[param.type] === 'checkbox' ? target.checked.toString() : target.value.toString(); @@ -57,52 +57,52 @@ function Param({param, actionId, changeParam, setBlockCard, index}: IParamProps) }; const _getRenderedElement = () => { - if (param.type === 'textarea') { - return
- -