Skip to content

Commit

Permalink
feat: Simplification du bloc candidatures sur la page Stats
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinPetel committed Jul 4, 2024
1 parent 06af854 commit 7035ba0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ui/src/pages/StatsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,13 @@ function StatsPage() {
</Heading>
<StatGroup mb={4}>
<Stat mr={2}>
<StatLabel>Nombre de candidatures</StatLabel>
<StatNumber>{voeux?.total?.toLocaleString()}</StatNumber>
<StatHelpText>dont {voeux?.totalRecensement?.toLocaleString()} voeux de recensement</StatHelpText>
<StatLabel>Nombre de candidatures (hors voeux générique)</StatLabel>
<StatNumber>{(voeux?.totalDiffusable + voeux?.totalNonDiffusable)?.toLocaleString()}</StatNumber>
</Stat>

<Stat mr={2}>
<StatLabel>Nombre de candidatures diffusables</StatLabel>
<StatNumber>{voeux?.totalDiffusable?.toLocaleString()}</StatNumber>
<StatHelpText>et {voeux?.totalNonDiffusable?.toLocaleString()} non diffusables</StatHelpText>
<StatLabel>Candidatures non diffusables</StatLabel>
<StatNumber>{voeux?.totalNonDiffusable?.toLocaleString()}</StatNumber>
</Stat>

<Stat mr={2}>
Expand Down

0 comments on commit 7035ba0

Please sign in to comment.