mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15649
This commit is contained in:
parent
b6b5b20daa
commit
e3df9ab316
1 changed files with 7 additions and 0 deletions
|
|
@ -1890,6 +1890,13 @@ func genAttrViewGroups(view *av.View, attrView *av.AttributeView) {
|
|||
v.GroupVal.Relation.Contents = []*av.Value{destBlock}
|
||||
}
|
||||
}
|
||||
} else if av.KeyTypeCheckbox == groupKey.Type {
|
||||
v.GroupVal.Text = nil
|
||||
v.GroupVal.Type = av.KeyTypeCheckbox
|
||||
v.GroupVal.Checkbox = &av.ValueCheckbox{}
|
||||
if "" != groupValue {
|
||||
v.GroupVal.Checkbox.Checked = true
|
||||
}
|
||||
}
|
||||
v.GroupSort = -1
|
||||
view.Groups = append(view.Groups, v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue