From 9bbb963a08508a474aa96508738d0c878dfbdc87 Mon Sep 17 00:00:00 2001 From: Antoine Moreaux Date: Fri, 6 Dec 2024 17:58:46 +0100 Subject: [PATCH] refactor(settings): nest support section within workspace (#8937) Refactor the settings structure to include the support section within the workspace feature when multi-workspace is enabled. This update provides a more consistent user interface by grouping related settings, thereby enhancing the manageability of workspace-specific actions. Fix #8914 --- .../src/pages/settings/SettingsWorkspace.tsx | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx b/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx index d32c096a6..854a7fa5a 100644 --- a/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx +++ b/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx @@ -42,24 +42,25 @@ export const SettingsWorkspace = () => { {isMultiWorkspaceEnabled && ( -
- - - } /> - -
+ <> +
+ + + } /> + +
+
+ } + description="Grant Twenty support temporary access to your workspace so we can troubleshoot problems or recover content on your behalf. You can revoke access at any time." + /> +
+ )} - -
- } - description="Grant Twenty support temporary access to your workspace so we can troubleshoot problems or recover content on your behalf. You can revoke access at any time." - /> -