diff --git a/frontend/src/controls/Table/AmenagementTableLayout.tsx b/frontend/src/controls/Table/AmenagementTableLayout.tsx index d7fab11..a070307 100644 --- a/frontend/src/controls/Table/AmenagementTableLayout.tsx +++ b/frontend/src/controls/Table/AmenagementTableLayout.tsx @@ -179,30 +179,37 @@ export default function AmenagementTableLayout(props: { modeAffichage: ModeAffic modeAffichage={props.modeAffichage} /> - {getCountLibelle(count, "aménagement")} + + {getCountLibelle( + count, + props.modeAffichage === ModeAffichageAmenagement.ParAmenagement + ? "aménagement" + : "bénéficiaire", + )} +
{JSON.stringify(getFiltreAmenagementDefault(auth.user as Utilisateur)) !== JSON.stringify(filtreAmenagement) && ( - - + + +