diff --git a/src/signals/proxies.ts b/src/signals/proxies.ts index 0ae5fab..1349643 100644 --- a/src/signals/proxies.ts +++ b/src/signals/proxies.ts @@ -38,7 +38,7 @@ export function useProxies() { const { proxies } = await request .get('proxies') .json<{ proxies: Record }>() - const sortIndex = proxies['GLOBAL'].all ?? [] + const sortIndex = [...(proxies['GLOBAL'].all ?? []), 'GLOBAL'] setProxies( Object.values(proxies)