mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-10-25 05:41:07 +00:00
Do not hide groups containing only a single item
This commit is contained in:
parent
a349a0d769
commit
3439be1bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ func (s *StartedService) readGroups() *Groups {
|
|||
}
|
||||
g.Items = append(g.Items, &item)
|
||||
}
|
||||
if len(g.Items) < 2 {
|
||||
if len(g.Items) == 0 {
|
||||
continue
|
||||
}
|
||||
gs.Group = append(gs.Group, &g)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue