Flag deleting orgs

This commit is contained in:
Owen
2025-07-14 12:38:58 -07:00
parent 7f227932da
commit 2f20397c60

View File

@@ -36,6 +36,7 @@ import {
} from "@app/components/Settings"; } from "@app/components/Settings";
import { useUserContext } from "@app/hooks/useUserContext"; import { useUserContext } from "@app/hooks/useUserContext";
import { useTranslations } from "next-intl"; import { useTranslations } from "next-intl";
import { build } from "@server/build";
// Updated schema to include subnet field // Updated schema to include subnet field
const GeneralFormSchema = z.object({ const GeneralFormSchema = z.object({
@@ -238,6 +239,7 @@ export default function GeneralPage() {
</Button> </Button>
</SettingsSectionFooter> </SettingsSectionFooter>
</SettingsSection> </SettingsSection>
{build === "oss" && (
<SettingsSection> <SettingsSection>
<SettingsSectionHeader> <SettingsSectionHeader>
<SettingsSectionTitle> <SettingsSectionTitle>
@@ -259,6 +261,7 @@ export default function GeneralPage() {
</Button> </Button>
</SettingsSectionFooter> </SettingsSectionFooter>
</SettingsSection> </SettingsSection>
)}
</SettingsContainer> </SettingsContainer>
); );
} }