fix: a.trim is not a function type error (#22728)
This commit is contained in:
1 parent
cc6beedfb0
commit
000324c02d
1 file changed
+3
-1
@@ -347,7 +347,9 @@ function BookingListItem(booking: BookingItemProps) {
|
||||
const title = booking.title;
|
||||
|
||||
const isCalVideoLocation =
|
||||
!booking.location || booking.location === "integrations:daily" || booking?.location?.trim() === "";
|
||||
!booking.location ||
|
||||
booking.location === "integrations:daily" ||
|
||||
(typeof booking.location === "string" && booking.location.trim() === "");
|
||||
|
||||
const showPendingPayment = paymentAppData.enabled && booking.payment.length && !booking.paid;
|
||||
|
||||
|
||||
Reference in new issue
Block a user