Do not hide groups containing only a single item

This commit is contained in:
世界 2026-08-26 20:07:09 +08:00
parent a349a0d769
commit 3439be1bbb
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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)