diff --git a/daikoku/javascript/src/components/adminbackoffice/cms/index.tsx b/daikoku/javascript/src/components/adminbackoffice/cms/index.tsx index c84eff40f..ead80e53d 100644 --- a/daikoku/javascript/src/components/adminbackoffice/cms/index.tsx +++ b/daikoku/javascript/src/components/adminbackoffice/cms/index.tsx @@ -122,15 +122,6 @@ export const CMSOffice = () => {
La page utilisé est {cmsPageId}
- - return- {parts - .map((part, i) => { - return - - - })} -
-} - -function InternalizationChooser({ domain, translate }) { - - const links = [ - { - active: "mail", - translation: 'mailing_internalization.mail_tab', - description: 'mailing_internalization.mail_description' - }, - { - active: "mail-template", - translation: 'mailing_internalization.mail_template_tab', - description: 'mailing_internalization.mail_template_description' - }, - { - active: "front", - translation: 'mailing_internalization.front_office_tab', - description: 'mailing_internalization.front_office_description' - }, - ] - - return{translate(description)}
- - {translate('mailing_internalization.action')} - -- {translate("mailing_internalization.usage")} : {info.row.original._id.replace("mail.", "").split(".").join(" > ")} -
-- {translate(info.row.original._id)} -
- > - }, + columnHelper.accessor(row => translate(row._id), { id: 'message', header: translate('mailing_internalization.message_text'), meta: { style: { textAlign: 'left' } }, @@ -308,10 +214,10 @@ export const MailingInternalization = () => { enableColumnFilter: false, cell: (info) => { return ( -