Skip to content

Commit

Permalink
fix: declaration recap wording when effective count is 0 (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturlg authored Feb 2, 2024
1 parent e4091c8 commit 6199e0b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ export const RecapDeclaration = ({ déclaration, edit }: Props) => {
.
</p>
<p>
{déclaration["periode-reference"].effectifTotal && (
{déclaration["periode-reference"].effectifTotal >= 0 && (
<>
<strong>{déclaration["periode-reference"].effectifTotal}</strong> salariés pris en compte pour le
calcul des indicateurs sur la période de référence (en effectif physique)
<strong>{déclaration["periode-reference"].effectifTotal}</strong> salarié
{déclaration["periode-reference"].effectifTotal > 1 ? "s" : ""} pris en compte pour le calcul des
indicateurs sur la période de référence (en effectif physique)
</>
)}
</p>
Expand Down

0 comments on commit 6199e0b

Please sign in to comment.