Skip to content

Scheduling infrastructure for absolutely everyone.

fix: confirm button not displayed (#9181)

Udit Takkardd94653a489e
diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx
index 3dc01a2dcb5..d15741b516b 100644
--- a/apps/web/components/booking/BookingListItem.tsx
+++ b/apps/web/components/booking/BookingListItem.tsx
@@ -123,7 +123,8 @@ function BookingListItem(booking: BookingItemProps) {
disabled: mutation.isLoading,
},
// For bookings with payment, only confirm if the booking is paid for
- ...((isPending && !booking?.eventType?.price) || (!!booking?.eventType?.price && booking.paid)
+ ...((isPending && !paymentAppData.enabled) ||
+ (paymentAppData.enabled && !!paymentAppData.price && booking.paid)
? [
{
id: "confirm",