mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve av grouping https://github.com/siyuan-note/siyuan/issues/16473
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
0987fe2150
commit
5ebf8b9948
1 changed files with 5 additions and 3 deletions
|
|
@ -817,9 +817,11 @@ func ChangeAttrViewLayout(blockID, avID string, newLayout av.LayoutType) (err er
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
preferredGroupKey := getKanbanPreferredGroupKey(attrView)
|
if !view.IsGroupView() {
|
||||||
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
preferredGroupKey := getKanbanPreferredGroupKey(attrView)
|
||||||
setAttributeViewGroup(attrView, view, group)
|
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
||||||
|
setAttributeViewGroup(attrView, view, group)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
blockIDs := treenode.GetMirrorAttrViewBlockIDs(avID)
|
blockIDs := treenode.GetMirrorAttrViewBlockIDs(avID)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue