mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-01 20:22:19 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user