Properly respect flags.disableEnterpriseFeatures

This commit is contained in:
Owen
2026-05-06 16:13:07 -07:00
parent ac0d88d9b7
commit 998364b09d
4 changed files with 28 additions and 18 deletions

View File

@@ -840,12 +840,16 @@ export function InternalResourceForm({
modeCidrKey
)
},
{
value: "http",
label: t(
modeHttpKey
)
}
...(!disableEnterpriseFeatures
? [
{
value: "http" as const,
label: t(
modeHttpKey
)
}
]
: [])
];
return (
<FormItem>