Skip to content

Commit

Permalink
When Recurrence is null, now it does not display 'no' in the Recurren…
Browse files Browse the repository at this point in the history
…ce field.
  • Loading branch information
paolo7 committed Jul 23, 2024
1 parent b8d13bc commit 0e7ff8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ const FollowUps: FC<{
<Field
name="recurrence"
initialValue={
followUp?.recurrence !== undefined
followUp?.recurrence != null
? BOOLEAN_OPTIONS.find((option) =>
followUp?.recurrence ? option.label === 'Yes' : option.label === 'No'
)
Expand Down

0 comments on commit 0e7ff8d

Please sign in to comment.