Skip to content

Commit

Permalink
(PC-32278)[PRO] fix: always display individual/collective income part…
Browse files Browse the repository at this point in the history
…s when defined
  • Loading branch information
asaez-pass committed Nov 20, 2024
1 parent cb7ac78 commit 9c9aa3d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ export const IncomeResultsBox = ({ type, income }: IncomeResultsBoxProps) => {
/>
{shouldDisplayIncomeDetails && (
<div className={styles['income-results-box-subbox']}>
{income.individual !== 0 && (
{income.individual && (
<IncomeResultsSubBox
title="Part individuelle"
number={income.individual}
/>
)}
{income.collective !== 0 && (
{income.collective && (
<IncomeResultsSubBox
title="Part collective"
number={income.collective}
Expand Down

0 comments on commit 9c9aa3d

Please sign in to comment.