Skip to content

Commit

Permalink
add new condition & remove ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelMenet committed Mar 25, 2024
1 parent 606aa1f commit 59246bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/SurveyUnit/IdentificationCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ export function IdentificationCard({ surveyUnit }) {
/>
))}
{surveyUnit.identificationConfiguration ===
identificationConfigurationEnum.NOIDENT ? (
identificationConfigurationEnum.NOIDENT && (
<Box typography="s" color="textTertiary">
{D.noLocation}
</Box>
) : (
)}
{surveyUnit.identificationConfiguration === identificationConfigurationEnum.TEL && (
<MoveQuestion surveyUnit={surveyUnit} />
)}
</Stack>
Expand Down

0 comments on commit 59246bc

Please sign in to comment.