fix: hide slot unavailable message for instant meetings (#20002)
* fix: hide slot unavailable message for instant meetings * fix:
This commit is contained in:
@@ -131,6 +131,7 @@ const BookerComponent = ({
|
||||
|
||||
const timeslotsRef = useRef<HTMLDivElement>(null);
|
||||
const isQuickAvailabilityCheckFeatureEnabled = useIsQuickAvailabilityCheckFeatureEnabled();
|
||||
|
||||
const StickyOnDesktop = isMobile ? "div" : StickyBox;
|
||||
|
||||
const { bookerFormErrorRef, key, formEmail, bookingForm, errors: formErrors } = bookerForm;
|
||||
@@ -230,7 +231,7 @@ const BookerComponent = ({
|
||||
onSubmit={() => (renderConfirmNotVerifyEmailButtonCond ? handleBookEvent() : handleVerifyEmail())}
|
||||
errorRef={bookerFormErrorRef}
|
||||
errors={{ ...formErrors, ...errors }}
|
||||
isTimeslotUnavailable={unavailableTimeSlots.includes(selectedTimeslot || "")}
|
||||
isTimeslotUnavailable={!isInstantMeeting && unavailableTimeSlots.includes(selectedTimeslot || "")}
|
||||
loadingStates={loadingStates}
|
||||
renderConfirmNotVerifyEmailButtonCond={renderConfirmNotVerifyEmailButtonCond}
|
||||
bookingForm={bookingForm}
|
||||
|
||||
Reference in New Issue
Block a user