{observations.length}
-observation{observations.length > 1 ? 's' : ''}
+{observations.length}
+observation{observations.length > 1 ? 's' : ''}
diff --git a/dashboard/src/scenes/report/components/PassagesReport.js b/dashboard/src/scenes/report/components/PassagesReport.js index 5adc3df6c..7d41951a3 100644 --- a/dashboard/src/scenes/report/components/PassagesReport.js +++ b/dashboard/src/scenes/report/components/PassagesReport.js @@ -17,12 +17,12 @@ export const PassagesReport = ({ passages, period, selectedTeams }) => { return ( <> -{passages.length}
-passage{passages.length > 1 ? 's' : ''}
+{passages.length}
+passage{passages.length > 1 ? 's' : ''}
diff --git a/dashboard/src/scenes/report/components/PersonsReport.js b/dashboard/src/scenes/report/components/PersonsReport.js index e78e6882b..74424947e 100644 --- a/dashboard/src/scenes/report/components/PersonsReport.js +++ b/dashboard/src/scenes/report/components/PersonsReport.js @@ -15,14 +15,14 @@ export const PersonsReport = ({ personsCreated, period, selectedTeams }) => { return ( <> -{personsCreated.length}
-
+ {personsCreated.length}
personne{personsCreated.length > 1 ? 's' : ''} créée{personsCreated.length > 1 ? 's' : ''}
{rencontres.length} rencontre{rencontres.length > 1 ? 's' : ''} {rencontres.length} rencontre{rencontres.length > 1 ? 's' : ''}Services effectués
+ Services effectués
) : (
-
- 👋 Comment s'est passée la journée ?
-
+ 👋 Comment s'est passée la journée ?
{days.map((day) => {
return (