From a8867fd09033e3dd75e95f855c8ba3a83c846276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Fri, 6 Dec 2024 00:17:47 +0100 Subject: [PATCH] Remove advanced settings wrapper from security page (#8912) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before: Without advanced settings toggled: Capture d’écran 2024-12-05 à 19 12 53 With advanced settings toggled: Capture d’écran 2024-12-05 à 19 13 01 After: Without advanced settings toggled: Capture d’écran 2024-12-05 à 19 12 34 With advanced settings toggled: Capture d’écran 2024-12-05 à 19 12 26 --- .../settings/security/SettingsSecurity.tsx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx b/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx index e5ec912aa..2ac01878d 100644 --- a/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx +++ b/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx @@ -1,7 +1,7 @@ import styled from '@emotion/styled'; import { H2Title, IconLock, Section, Tag } from 'twenty-ui'; -import { AdvancedSettingsWrapper } from '@/settings/components/AdvancedSettingsWrapper'; +import { isSSOEnabledState } from '@/client-config/states/isSSOEnabledState'; import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer'; import { SettingsReadDocumentationButton } from '@/settings/developers/components/SettingsReadDocumentationButton'; import { SettingsSSOIdentitiesProvidersListCard } from '@/settings/security/components/SettingsSSOIdentitiesProvidersListCard'; @@ -10,7 +10,6 @@ import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath'; import { SettingsPath } from '@/types/SettingsPath'; import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer'; import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; -import { isSSOEnabledState } from '@/client-config/states/isSSOEnabledState'; import { useRecoilValue } from 'recoil'; const StyledContainer = styled.div` @@ -65,15 +64,13 @@ export const SettingsSecurity = () => { )}
- - - - - - + + + +