diff --git a/frontend/src/i18n/fr.ts b/frontend/src/i18n/fr.ts index 738d84b..209d20f 100644 --- a/frontend/src/i18n/fr.ts +++ b/frontend/src/i18n/fr.ts @@ -97,6 +97,7 @@ const fr = { 'synthesis.loadError': 'Erreur lors du chargement de la synthese.', 'synthesis.deleteError': 'Erreur lors de la suppression.', 'synthesis.backToHome': 'Retour a l\'accueil', + 'synthesis.noSections': 'Aucune section trouvee dans cette synthese.', // Synthesis - Email 'synthesis.email.title': 'Envoyer par email', diff --git a/frontend/src/pages/SynthesisDetail.tsx b/frontend/src/pages/SynthesisDetail.tsx index 149ff7b..56fe774 100644 --- a/frontend/src/pages/SynthesisDetail.tsx +++ b/frontend/src/pages/SynthesisDetail.tsx @@ -356,11 +356,18 @@ const SynthesisDetail: Component = () => { {/* Sections */}
- - {(section) => ( -
- )} - + 0} + fallback={ +

+ {t('synthesis.noSections')} +

+ } + > + + {(section) =>
} + +
)}