Skip to content

Commit

Permalink
Fix accompanying persons not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Nov 24, 2023
1 parent 422e123 commit 47d4393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/participant/ParticipantPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function ParticipantPageContent({
errorModal={errorModal}
/>
)}
{accompanyingPersons.length > 1 && <AccompanyingPersons persons={accompanyingPersons} />}
{accompanyingPersons.length > 0 && <AccompanyingPersons persons={accompanyingPersons} />}
<Typography as="div" variant="body1" className="mt-1 flex w-full justify-center">
<GrowingTextArea value={notes} onChange={onAddNotes} />
</Typography>
Expand Down

0 comments on commit 47d4393

Please sign in to comment.