Skip to content

Scheduling infrastructure for absolutely everyone.

Missing calendar toggles fix (#3066)

Leo Giovanetti6f8d0521f47f
diff --git a/apps/web/components/integrations/CalendarListContainer.tsx b/apps/web/components/integrations/CalendarListContainer.tsx
index 7f32fd1b71d..9e6ea0f8c10 100644
--- a/apps/web/components/integrations/CalendarListContainer.tsx
+++ b/apps/web/components/integrations/CalendarListContainer.tsx
@@ -163,9 +163,7 @@ function ConnectedCalendarsList(props: Props) {
}>
{!fromOnboarding && (
<>
- <p className="px-4 pt-4 text-sm text-neutral-500">
- Toggle the calendar(s) you want to check for conflicts to prevent double bookings.
- </p>
+ <p className="px-4 pt-4 text-sm text-neutral-500">{t("toggle_calendars_conflict")}</p>
<ul className="space-y-2 p-4">
{item.calendars.map((cal) => (
<CalendarSwitch
@@ -260,7 +258,7 @@ export function CalendarListContainer(props: { heading?: boolean; fromOnboarding
}
/>
)}
- <ConnectedCalendarsList onChanged={onChanged} fromOnboarding />
+ <ConnectedCalendarsList onChanged={onChanged} fromOnboarding={fromOnboarding} />
</>
)}
{fromOnboarding && (
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index abbc3703669..1be3cbc9853 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -684,6 +684,7 @@
"connect_your_favourite_apps": "Connect your favourite apps.",
"automation": "Automation",
"configure_how_your_event_types_interact": "Configure how your event types should interact with your calendars.",
+ "toggle_calendars_conflict": "Toggle the calendars you want to check for conflicts to prevent double bookings.",
"select_destination_calendar": "Create events on",
"connect_additional_calendar": "Connect additional calendar",
"conferencing": "Conferencing",