mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
692665f100
commit
f0ff16c60a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue