From 879162c43b5774466ae1e91f3af4aa77828d4a28 Mon Sep 17 00:00:00 2001 From: Harnoor Singh <49549662+harrykamboj1@users.noreply.github.com> Date: Tue, 14 Jul 2026 21:19:17 +0530 Subject: [PATCH] fix(ui): hide nested config values in Configuration Editor (#10390) --- .../src/components/settings/config/ConfigSettings.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/desktop/src/components/settings/config/ConfigSettings.tsx b/ui/desktop/src/components/settings/config/ConfigSettings.tsx index 4aa4cca32..56a78b465 100644 --- a/ui/desktop/src/components/settings/config/ConfigSettings.tsx +++ b/ui/desktop/src/components/settings/config/ConfigSettings.tsx @@ -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)