Scheduling infrastructure for absolutely everyone.
fix: show button on empty string (#6601)
Udit Takkar52e318ca1867
diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsxindex 679b87b0864..917118d6453 100644--- a/apps/web/components/booking/BookingListItem.tsx+++ b/apps/web/components/booking/BookingListItem.tsx@@ -220,7 +220,8 @@ function BookingListItem(booking: BookingItemProps) {},});};- const showRecordingsButtons = booking.location === "integrations:daily" && isPast && isConfirmed;+ const showRecordingsButtons =+ (booking.location === "integrations:daily" || booking?.location?.trim() === "") && isPast && isConfirmed;return (<><RescheduleDialogdiff --git a/packages/features/ee/video/ViewRecordingsDialog.tsx b/packages/features/ee/video/ViewRecordingsDialog.tsxindex c7d5df8b410..0b46197c437 100644--- a/packages/features/ee/video/ViewRecordingsDialog.tsx+++ b/packages/features/ee/video/ViewRecordingsDialog.tsx@@ -109,7 +109,7 @@ export const ViewRecordingsDialog = (props: IViewRecordingsDialog) => {<DialogHeader title={t("recordings_title")} subtitle={subtitle} /><LicenseRequired><>- {isLoading && isLoadingHasTeamPlan && <RecordingListSkeleton />}+ {(isLoading || isLoadingHasTeamPlan) && <RecordingListSkeleton />}{recordings && "data" in recordings && recordings?.data?.length > 0 && (<div className="flex flex-col gap-3">{recordings.data.map((recording: RecordingItemSchema, index: number) => {