diff --git a/src/renderer/src/pages/proxies.tsx b/src/renderer/src/pages/proxies.tsx index 668e443..104b365 100644 --- a/src/renderer/src/pages/proxies.tsx +++ b/src/renderer/src/pages/proxies.tsx @@ -24,12 +24,14 @@ const Proxies: React.FC = () => { const globalGroup = proxies.proxies['GLOBAL'] as IMihomoGroup for (const global of globalGroup.all) { if (isGroup(proxies.proxies[global])) { + if (proxies.proxies[global].hidden) continue groups.push(proxies.proxies[global] as IMihomoGroup) } } Object.keys(proxies.proxies).forEach((key) => { if (isGroup(proxies.proxies[key])) { if (!groups.find((group) => group.name === key)) { + if (proxies.proxies[key].hidden) return groups.push(proxies.proxies[key] as IMihomoGroup) } }