diff --git a/apps/web/components/apps/CalendarListContainer.tsx b/apps/web/components/apps/CalendarListContainer.tsx index b2c8135119..49bfdc971d 100644 --- a/apps/web/components/apps/CalendarListContainer.tsx +++ b/apps/web/components/apps/CalendarListContainer.tsx @@ -221,6 +221,7 @@ export function CalendarListContainer(props: { heading?: boolean; fromOnboarding hidePlaceholder isLoading={mutation.isLoading} value={data.destinationCalendar?.externalId} + hideAdvancedText /> diff --git a/packages/features/calendars/DestinationCalendarSelector.tsx b/packages/features/calendars/DestinationCalendarSelector.tsx index a996870d26..4cf7ffde07 100644 --- a/packages/features/calendars/DestinationCalendarSelector.tsx +++ b/packages/features/calendars/DestinationCalendarSelector.tsx @@ -17,6 +17,7 @@ interface Props { destinationCalendar?: DestinationCalendar | null; value: string | undefined; maxWidth?: number; + hideAdvancedText?: boolean; } interface Option { @@ -51,6 +52,7 @@ const DestinationCalendarSelector = ({ isLoading, value, hidePlaceholder, + hideAdvancedText, maxWidth, destinationCalendar, }: Props): JSX.Element | null => { @@ -177,7 +179,9 @@ const DestinationCalendarSelector = ({ components={{ SingleValue: SingleValueComponent, Option: OptionComponent }} isMulti={false} /> -
{t("you_can_override_calendar_in_advanced_tab")}
+ {hideAdvancedText ? null : ( +{t("you_can_override_calendar_in_advanced_tab")}
+ )} ); };