Skip to content

Scheduling infrastructure for absolutely everyone.

fix: disable request reschedule for seated event (#24793)

Anik Dhabal Babu8d4dd0241ad6
diff --git a/apps/web/components/booking/bookingActions.ts b/apps/web/components/booking/bookingActions.ts
index ed482b87110..46d0d492bce 100644
--- a/apps/web/components/booking/bookingActions.ts
+++ b/apps/web/components/booking/bookingActions.ts
@@ -128,7 +128,9 @@ export function getEditEventActions(context: BookingActionContext): ActionType[]
iconClassName: "rotate-45 w-[16px] -translate-x-0.5 ",
label: t("send_reschedule_request"),
disabled:
- (isBookingInPast && !booking.eventType.allowReschedulingPastBookings) || isDisabledRescheduling,
+ (isBookingInPast && !booking.eventType.allowReschedulingPastBookings) ||
+ isDisabledRescheduling ||
+ booking.seatsReferences.length > 0,
},
isBookingFromRoutingForm
? {