diff --git a/src/pages/EventAdministration/components/Participant.tsx b/src/pages/EventAdministration/components/Participant.tsx index bea3d094..78d02499 100644 --- a/src/pages/EventAdministration/components/Participant.tsx +++ b/src/pages/EventAdministration/components/Participant.tsx @@ -1,6 +1,6 @@ import parseISO from 'date-fns/parseISO'; import { cn } from 'lib/utils'; -import { BadgeCheck, ChevronDown, ChevronRight, HandCoins } from 'lucide-react'; +import { BadgeCheck, ChevronDown, ChevronRight, HandCoins, NutOff } from 'lucide-react'; import { useEffect, useState } from 'react'; import { toast } from 'sonner'; import { formatDate, getUserAffiliation } from 'utils'; @@ -100,6 +100,18 @@ const Participant = ({ registration, eventId }: ParticipantProps) => { {registration.user_info.first_name} {registration.user_info.last_name}

{getUserAffiliation(registration.user_info)}

+
+ {registration.user_info.allergy !== '' ? ( + <> +
+ + {registration.user_info.allergy} +
+ + ) : ( + '' + )} +