hide raw resources ui if disabled

This commit is contained in:
miloschwartz
2025-06-17 16:23:33 -04:00
parent 21e9edd201
commit 32e54d0f94
2 changed files with 10 additions and 2 deletions

View File

@@ -683,7 +683,7 @@ export default function Page() {
</SettingsSectionForm>
</SettingsSectionBody>
</SettingsSection>
) : (
) : env.flags.allowRawResources ? (
<SettingsSection>
<SettingsSectionHeader>
<SettingsSectionTitle>
@@ -781,7 +781,7 @@ export default function Page() {
</SettingsSectionForm>
</SettingsSectionBody>
</SettingsSection>
)}
) : null}
<div className="flex justify-end space-x-2 mt-8">
<Button