mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15587
This commit is contained in:
parent
f97dab787b
commit
089080c818
1 changed files with 5 additions and 0 deletions
|
@ -1805,6 +1805,11 @@ func genAttrViewGroups(view *av.View, attrView *av.AttributeView) {
|
|||
}
|
||||
}
|
||||
|
||||
if 1 > len(groupItemsMap[groupValueDefault]) {
|
||||
// 始终保留默认分组 https://github.com/siyuan-note/siyuan/issues/15587
|
||||
groupItemsMap[groupValueDefault] = []av.Item{}
|
||||
}
|
||||
|
||||
for groupValue, groupItems := range groupItemsMap {
|
||||
var v *av.View
|
||||
switch view.LayoutType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue