Skip to content

Commit 6f8d052

Browse files
leogkodiakhq[bot]
andauthored
Missing calendar toggles fix (#3066)
* onboarding flag fix * Adjusting text + adding into locales file Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent de375f0 commit 6f8d052

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

apps/web/components/integrations/CalendarListContainer.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ function ConnectedCalendarsList(props: Props) {
163163
}>
164164
{!fromOnboarding && (
165165
<>
166-
<p className="px-4 pt-4 text-sm text-neutral-500">
167-
Toggle the calendar(s) you want to check for conflicts to prevent double bookings.
168-
</p>
166+
<p className="px-4 pt-4 text-sm text-neutral-500">{t("toggle_calendars_conflict")}</p>
169167
<ul className="space-y-2 p-4">
170168
{item.calendars.map((cal) => (
171169
<CalendarSwitch
@@ -260,7 +258,7 @@ export function CalendarListContainer(props: { heading?: boolean; fromOnboarding
260258
}
261259
/>
262260
)}
263-
<ConnectedCalendarsList onChanged={onChanged} fromOnboarding />
261+
<ConnectedCalendarsList onChanged={onChanged} fromOnboarding={fromOnboarding} />
264262
</>
265263
)}
266264
{fromOnboarding && (

apps/web/public/static/locales/en/common.json

+1
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@
684684
"connect_your_favourite_apps": "Connect your favourite apps.",
685685
"automation": "Automation",
686686
"configure_how_your_event_types_interact": "Configure how your event types should interact with your calendars.",
687+
"toggle_calendars_conflict": "Toggle the calendars you want to check for conflicts to prevent double bookings.",
687688
"select_destination_calendar": "Create events on",
688689
"connect_additional_calendar": "Connect additional calendar",
689690
"conferencing": "Conferencing",

0 commit comments

Comments
 (0)