Skip to content

Scheduling infrastructure for absolutely everyone.

fix:installed-calendar-info

Sean Brydon2ee021a87fee
diff --git a/apps/web/components/apps/CalendarListContainer.tsx b/apps/web/components/apps/CalendarListContainer.tsx
index b2c81351194..49bfdc971dc 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
/>
</div>
</div>
diff --git a/packages/features/calendars/DestinationCalendarSelector.tsx b/packages/features/calendars/DestinationCalendarSelector.tsx
index a996870d26d..4cf7ffde07d 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}
/>
- <p className="text-sm leading-tight">{t("you_can_override_calendar_in_advanced_tab")}</p>
+ {hideAdvancedText ? null : (
+ <p className="text-sm leading-tight">{t("you_can_override_calendar_in_advanced_tab")}</p>
+ )}
</div>
);
};