diff --git a/ui/src/pages/settings/sections/proxy/index.tsx b/ui/src/pages/settings/sections/proxy/index.tsx index 38879cc2..da4bf7f2 100644 --- a/ui/src/pages/settings/sections/proxy/index.tsx +++ b/ui/src/pages/settings/sections/proxy/index.tsx @@ -155,6 +155,8 @@ export default function ProxySection() { } const isRemoteMode = config.remote.enabled ?? false; + // Only block backend switching in local mode when proxy is running + const isBackendSwitchBlocked = !isRemoteMode && isProxyRunning; const remoteConfig = config.remote; const fallbackConfig = config.fallback; @@ -318,8 +320,8 @@ export default function ProxySection() { Backend Binary - {/* Warning when proxy is running - must stop to change backend */} - {isProxyRunning && ( + {/* Warning when local proxy is running - must stop to change backend (not applicable in remote mode) */} + {!isRemoteMode && isProxyRunning && ( @@ -331,12 +333,12 @@ export default function ProxySection() { {/* Plus Backend Card */}