Skip to content

Commit 3ab6767

Browse files
authored
fix type error (calcom#22710)
1 parent 877fdbf commit 3ab6767

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/web/components/booking/BookingListItem.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ function BookingListItem(booking: BookingItemProps) {
245245
isDisabledCancelling,
246246
isDisabledRescheduling,
247247
isCalVideoLocation:
248-
!booking.location || booking.location === "integrations:daily" || booking?.location?.trim() === "",
248+
!booking.location ||
249+
booking.location === "integrations:daily" ||
250+
(typeof booking.location === "string" && booking.location.trim() === ""),
249251
showPendingPayment: paymentAppData.enabled && booking.payment.length && !booking.paid,
250252
cardCharged,
251253
attendeeList,

0 commit comments

Comments
 (0)