Properly do disable enterprise features this time

This commit is contained in:
Owen
2026-06-04 21:17:50 -07:00
parent 614df75880
commit 67b08ca61e
6 changed files with 21 additions and 41 deletions

View File

@@ -280,7 +280,7 @@ export default function Page() {
env.flags.allowRawResources &&
(build !== "saas" || remoteExitNodes.length > 0);
const enterpriseModesAllowed =
build === "oss" && !env.flags.disableEnterpriseFeatures;
!env.flags.disableEnterpriseFeatures;
const availableTypes = useMemo((): NewResourceType[] => {
const base: NewResourceType[] = ["http"];

View File

@@ -137,7 +137,7 @@ export const orgNavSections = (
}
]
},
...(build === "oss" && !env?.flags.disableEnterpriseFeatures
...(!env?.flags.disableEnterpriseFeatures
? [
{
title: "sidebarPolicies",