resolve scoping issue by fetching proxy summary

This commit is contained in:
Alex Holliday committed 2026-08-25 11:13:12 -07:00
1 parent b2dca7b62f
commit 3f62c8ec6a
7 files changed
+43 -19

No files matched your search

+1 -4
View File
@@ -484,10 +484,7 @@ const CreateMonitorPage = () => {
})),
[t]
);
const globalProxyName =
appSettings?.settings?.globalProxyEnabled === true
? proxies?.find((proxy) => proxy.id === appSettings?.settings?.globalProxyId)?.name
: undefined;
const globalProxyName = appSettings?.globalProxy?.name;
const proxyModeOptions = useMemo(
() =>