From d9fc595444cfa73152191a0ea231466ebe61b4f7 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Mon, 17 Apr 2023 21:49:24 +0530 Subject: [PATCH] fix: undo showRecordingsButton (#8262) Signed-off-by: Udit Takkar Co-authored-by: Peer Richelsen --- apps/web/components/booking/BookingListItem.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 04b86a9132..8e22549663 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -258,7 +258,12 @@ function BookingListItem(booking: BookingItemProps) { }; const title = booking.title; - const showRecordingsButtons = booking.isRecorded && isPast && isConfirmed; + // To be used after we run query on legacy bookings + // const showRecordingsButtons = booking.isRecorded && isPast && isConfirmed; + + const showRecordingsButtons = + (booking.location === "integrations:daily" || booking?.location?.trim() === "") && isPast && isConfirmed; + return ( <>