fix(ui): hide nested config values in Configuration Editor (#10390)

This commit is contained in:
Harnoor Singh
2026-07-14 21:19:17 +05:30
committed by GitHub
parent 846c764994
commit 879162c43b
@@ -192,6 +192,12 @@ export default function ConfigSettings() {
return false;
}
// skip nested structures - they can't be edited as a single-line string
const value: unknown = configValues[key];
if (typeof value === 'object' && value !== null) {
return false;
}
// Only show provider-specific entries for the current provider
const providerSpecific = allProviderPrefixes.some((prefix: string) =>
key.startsWith(prefix)