mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-28 06:46:24 +03:00
[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:
parent
1da64c7715
commit
8d90c60ada
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user