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
This commit is contained in:
@ -42,6 +42,7 @@ export const SettingsWorkspace = () => {
|
||||
<NameField />
|
||||
</Section>
|
||||
{isMultiWorkspaceEnabled && (
|
||||
<>
|
||||
<Section>
|
||||
<H2Title
|
||||
title="Domain"
|
||||
@ -51,8 +52,6 @@ export const SettingsWorkspace = () => {
|
||||
<SettingsCard title="Customize Domain" Icon={<IconWorld />} />
|
||||
</UndecoratedLink>
|
||||
</Section>
|
||||
)}
|
||||
|
||||
<Section>
|
||||
<H2Title
|
||||
title="Support"
|
||||
@ -60,6 +59,8 @@ export const SettingsWorkspace = () => {
|
||||
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."
|
||||
/>
|
||||
</Section>
|
||||
</>
|
||||
)}
|
||||
<Section>
|
||||
<DeleteWorkspace />
|
||||
</Section>
|
||||
|
||||
Reference in New Issue
Block a user