From 8d90c60adae339ba9d2675de7be975254912df7f Mon Sep 17 00:00:00 2001 From: Weiko Date: Thu, 2 May 2024 15:47:43 +0200 Subject: [PATCH] [calendar] hide calendar settings until implemented (#5252) ## Context Those settings are not implemented yet, we would like to move them to a different page as well. In the meantime, we are hiding them since we plan to launch calendar in the next release and this won't be implemented before. We will implement it in this https://github.com/twentyhq/twenty/issues/5140 --- .../src/pages/settings/accounts/SettingsAccountsCalendars.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx index 9c823a4f8..234b54540 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({ objectNameSingular: CoreObjectNameSingular.ConnectedAccount, @@ -101,7 +102,7 @@ export const SettingsAccountsCalendars = () => { /> - {!!calendarChannels.length && ( + {!!calendarChannels.length && calendarSettingsEnabled && ( <>