fix type error (#22710)

This commit is contained in:
Anik Dhabal Babu
2025-07-24 06:36:12 +00:00
committed by GitHub
parent 877fdbf46a
commit 3ab676794f
@@ -245,7 +245,9 @@ function BookingListItem(booking: BookingItemProps) {
isDisabledCancelling,
isDisabledRescheduling,
isCalVideoLocation:
!booking.location || booking.location === "integrations:daily" || booking?.location?.trim() === "",
!booking.location ||
booking.location === "integrations:daily" ||
(typeof booking.location === "string" && booking.location.trim() === ""),
showPendingPayment: paymentAppData.enabled && booking.payment.length && !booking.paid,
cardCharged,
attendeeList,