The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
refactor(settings): nest support section within workspace (#8937)
Antoine Moreaux9bbb963a0850
diff --git a/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx b/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsxindex d32c096a6fe..854a7fa5a1c 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 = () => {<NameField /></Section>{isMultiWorkspaceEnabled && (- <Section>- <H2Title- title="Domain"- description="Edit your subdomain name or set a custom domain."- />- <UndecoratedLink to={getSettingsPagePath(SettingsPath.Domain)}>- <SettingsCard title="Customize Domain" Icon={<IconWorld />} />- </UndecoratedLink>- </Section>+ <>+ <Section>+ <H2Title+ title="Domain"+ description="Edit your subdomain name or set a custom domain."+ />+ <UndecoratedLink to={getSettingsPagePath(SettingsPath.Domain)}>+ <SettingsCard title="Customize Domain" Icon={<IconWorld />} />+ </UndecoratedLink>+ </Section>+ <Section>+ <H2Title+ title="Support"+ adornment={<ToggleImpersonate />}+ 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>- <H2Title- title="Support"- adornment={<ToggleImpersonate />}- 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>