Skip to content

Commit

Permalink
fix(dashboard): on affiche la stat d'un champ custo de consultation q…
Browse files Browse the repository at this point in the history
…uel que soit la section à laquelle il appartient (#1636)
  • Loading branch information
arnaudambro authored Aug 28, 2023
1 parent db32511 commit 1a5c60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/scenes/stats/Consultations.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ConsultationsStats = ({ consultations, personsWithConsultations, filterBas
<div key={c.name}>
<h4 className="tw-my-8 tw-mx-0 tw-text-xl tw-text-black75">Statistiques des consultations de type « {c.name} »</h4>
<CustomFieldsStats
data={consultations.filter((d) => d.type === c.name)}
data={consultations}
customFields={c.fields}
help={(label) => `${label.capitalize()} des consultations réalisées dans la période définie.`}
totalTitleForMultiChoice={<span className="tw-font-bold">Nombre de consultations concernées</span>}
Expand Down

0 comments on commit 1a5c60b

Please sign in to comment.