fix: undo showRecordingsButton (#8262)

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Udit Takkar
2023-04-17 16:19:24 +00:00
committed by GitHub
co-authored by Peer Richelsen
parent 06d13e0f6e
commit d9fc595444
@@ -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 (
<>
<RescheduleDialog