mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-08 03:39:15 -05:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -2126,6 +2126,11 @@ func getAttrViewGroupStates(view *av.View) (groupStates map[string]*GroupState)
|
||||
}
|
||||
|
||||
for _, groupView := range view.Groups {
|
||||
if av.LayoutTypeKanban == groupView.LayoutType {
|
||||
// 看板视图的分组不能折叠
|
||||
groupView.GroupFolded = false
|
||||
}
|
||||
|
||||
groupStates[groupView.GetGroupValue()] = &GroupState{
|
||||
ID: groupView.ID,
|
||||
Folded: groupView.GroupFolded,
|
||||
|
||||
Reference in New Issue
Block a user