diff --git a/apps/web/pages/settings/my-account/out-of-office/index.tsx b/apps/web/pages/settings/my-account/out-of-office/index.tsx index be7a32f828..6238b0e0f4 100644 --- a/apps/web/pages/settings/my-account/out-of-office/index.tsx +++ b/apps/web/pages/settings/my-account/out-of-office/index.tsx @@ -26,6 +26,7 @@ import PageWrapper from "@components/PageWrapper"; export type BookingRedirectForm = { dateRange: { startDate: Date; endDate: Date }; + offset: number; toTeamUserId: number | null; }; @@ -47,6 +48,7 @@ const OutOfOfficeSection = () => { startDate: dateRange.startDate, endDate: dateRange.endDate, }, + offset: dayjs().utcOffset(), toTeamUserId: null, }, }); @@ -104,20 +106,17 @@ const OutOfOfficeSection = () => { )} -
+
{profileRedirect && ( -
+

{t("team_member")}