feat(home): hide hidden proxy groups in current proxy card (#7504)

* feat(home): hide hidden proxy groups in current proxy card

* docs: update changelog with fixes and feature clarifications
This commit is contained in:
oomeow
2026-07-18 15:16:37 +00:00
committed by GitHub
parent b31437f727
commit becd86c179
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -377,8 +377,8 @@ export const CurrentProxyCard = () => {
;(proxies.groups || [])
.filter(
(g: { type?: string }) =>
g?.type === 'Selector' || g?.type === 'URLTest',
(g: { type?: string; hidden?: boolean }) =>
!g?.hidden && (g?.type === 'Selector' || g?.type === 'URLTest'),
)
.forEach((selectableGroup: any) => {
registerGroup(selectableGroup)