fix: undo showRecordingsButton (#8262)

Signed-off-by: Udit Takkar <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Udit TakkarandPeer Richelsen authored and GitHub committed 2023-04-17 16:19:24 +00:00
1 parent 06d13e0f6e
commit d9fc595444
1 file changed
+6 -1
@@ -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