[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
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user