diff --git a/messages/en-US.json b/messages/en-US.json index 3048834c..97272c6f 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -207,7 +207,7 @@ "alwaysAllow": "Always Allow", "alwaysDeny": "Always Deny", "passToAuth": "Pass to Auth", - "orgSettingsDescription": "Configure your organization's general settings", + "orgSettingsDescription": "Configure your organization's settings", "orgGeneralSettings": "Organization Settings", "orgGeneralSettingsDescription": "Manage your organization details and configuration", "saveGeneralSettings": "Save General Settings", @@ -2080,5 +2080,6 @@ "supportSending": "Sending...", "supportSend": "Send", "supportMessageSent": "Message Sent!", - "supportWillContact": "We'll be in touch shortly!" + "supportWillContact": "We'll be in touch shortly!", + "selectLogRetention": "Select log retention" } diff --git a/src/app/[orgId]/settings/general/layout.tsx b/src/app/[orgId]/settings/general/layout.tsx index 3fae9ce4..82b2c999 100644 --- a/src/app/[orgId]/settings/general/layout.tsx +++ b/src/app/[orgId]/settings/general/layout.tsx @@ -72,7 +72,7 @@ export default async function GeneralSettingsPage({ diff --git a/src/app/[orgId]/settings/general/page.tsx b/src/app/[orgId]/settings/general/page.tsx index 70694805..fdedba5c 100644 --- a/src/app/[orgId]/settings/general/page.tsx +++ b/src/app/[orgId]/settings/general/page.tsx @@ -318,7 +318,7 @@ export default function GeneralPage() { - {t("orgGeneralSettings")} + {t("general")} {t("orgGeneralSettingsDescription")} @@ -420,10 +420,14 @@ export default function GeneralPage() { } ).map((option) => ( - {t(option.label)} + {t( + option.label + )} ))} @@ -444,8 +448,7 @@ export default function GeneralPage() { render={({ field }) => { const isDisabled = (build == "saas" && - !subscription - ?.subscribed) || + !subscription?.subscribed) || (build == "enterprise" && !isUnlocked()); @@ -493,9 +496,7 @@ export default function GeneralPage() { key={ option.value } - value={ - option.value.toString() - } + value={option.value.toString()} > {t( option.label @@ -517,8 +518,7 @@ export default function GeneralPage() { render={({ field }) => { const isDisabled = (build == "saas" && - !subscription - ?.subscribed) || + !subscription?.subscribed) || (build == "enterprise" && !isUnlocked()); @@ -566,9 +566,7 @@ export default function GeneralPage() { key={ option.value } - value={ - option.value.toString() - } + value={option.value.toString()} > {t( option.label @@ -589,29 +587,20 @@ export default function GeneralPage() { - - - {build !== "oss" && ( - - - - {t("securitySettings")} - - - {t("securitySettingsDescription")} - - - - - - -
- + {build !== "oss" && ( + + + + {t("securitySettings")} + + + {t("securitySettingsDescription")} + + + + + - - - - -
- )} +
+
+
+ )} + + {build === "saas" && }