diff --git a/apps/web/modules/bookings/views/bookings-single-view.tsx b/apps/web/modules/bookings/views/bookings-single-view.tsx index 1029592233..b97ac3c592 100644 --- a/apps/web/modules/bookings/views/bookings-single-view.tsx +++ b/apps/web/modules/bookings/views/bookings-single-view.tsx @@ -202,7 +202,7 @@ export default function Success(props: PageProps) { }; function setIsCancellationMode(value: boolean) { - const _searchParams = new URLSearchParams(searchParams ?? undefined); + const _searchParams = new URLSearchParams(searchParams?.toString() ?? undefined); if (value) { _searchParams.set("cancel", "true"); @@ -789,119 +789,115 @@ export default function Success(props: PageProps) { )} - {userIsOwner && - !needsConfirmation && - !isCancellationMode && - isReschedulable && - !!calculatedDuration && ( - <> -
-
- - {t("add_to_calendar")} - -
- - - Google - - - - - - Microsoft Outlook - - - - - - Microsoft Office - - - - - - {t("other")} - - - -
+ {!needsConfirmation && !isCancellationMode && isReschedulable && !!calculatedDuration && ( + <> +
+
+ + {t("add_to_calendar")} + +
+ + + Google + + + + + + Microsoft Outlook + + + + + + Microsoft Office + + + + + + {t("other")} + + +
- - )} +
+ + )} {session === null && !(userIsOwner || props.hideBranding) && ( <>