fix: wrong attende details shows for seated event (#17338)
This commit is contained in:
1 parent
f81024e3f0
commit
7e3f60bbdb
1 file changed
+2
-1
@@ -168,7 +168,8 @@ export const handleSeatsEventTypeOnBooking = async (
|
|||||||
if (seatAttendee) {
|
if (seatAttendee) {
|
||||||
const attendee = bookingInfo?.attendees?.find((a) => {
|
const attendee = bookingInfo?.attendees?.find((a) => {
|
||||||
return (
|
return (
|
||||||
a.email === seatAttendee?.attendee?.email || a.phoneNumber === seatAttendee?.attendee?.phoneNumber
|
a.email === seatAttendee?.attendee?.email ||
|
||||||
|
(a.phoneNumber && a.phoneNumber === seatAttendee?.attendee?.phoneNumber)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
bookingInfo["attendees"] = attendee ? [attendee] : [];
|
bookingInfo["attendees"] = attendee ? [attendee] : [];
|
||||||
|
|||||||
Reference in new issue
Block a user