Skip to content

The open alternative to Salesforce, designed for AI.

[calendar] hide calendar settings until implemented (#5252)

Weiko8d90c60adae3
diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx
index 9c823a4f861..234b545406b 100644
--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx
+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx
@@ -24,6 +24,7 @@ import {
} from '~/generated-metadata/graphql';
export const SettingsAccountsCalendars = () => {
+ const calendarSettingsEnabled = false;
const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState);
const { records: accounts } = useFindManyRecords<ConnectedAccount>({
objectNameSingular: CoreObjectNameSingular.ConnectedAccount,
@@ -101,7 +102,7 @@ export const SettingsAccountsCalendars = () => {
/>
<SettingsAccountsCalendarChannelsListCard />
</Section>
- {!!calendarChannels.length && (
+ {!!calendarChannels.length && calendarSettingsEnabled && (
<>
<Section>
<H2Title