This commit is contained in:
Daniel 2025-08-21 13:42:32 +08:00
parent f97dab787b
commit 089080c818
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

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