This commit is contained in:
Daniel 2025-07-30 10:51:02 +08:00
parent 692665f100
commit f0ff16c60a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -4682,11 +4682,11 @@ func regenAttrViewViewGroups(attrView *av.AttributeView, keyID string) {
for _, g := range view.Groups {
if view.Group.HideEmpty {
if 2 != g.GroupHidden && 1 > len(g.GroupItemIDs) {
if 0 == g.GroupHidden && 1 > len(g.GroupItemIDs) {
g.GroupHidden = 1
}
} else {
if 2 != g.GroupHidden {
if 1 == g.GroupHidden {
g.GroupHidden = 0
}
}