mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
316de1fb43
commit
97c31e62ff
1 changed files with 5 additions and 0 deletions
|
|
@ -2126,6 +2126,11 @@ func getAttrViewGroupStates(view *av.View) (groupStates map[string]*GroupState)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, groupView := range view.Groups {
|
for _, groupView := range view.Groups {
|
||||||
|
if av.LayoutTypeKanban == groupView.LayoutType {
|
||||||
|
// 看板视图的分组不能折叠
|
||||||
|
groupView.GroupFolded = false
|
||||||
|
}
|
||||||
|
|
||||||
groupStates[groupView.GetGroupValue()] = &GroupState{
|
groupStates[groupView.GetGroupValue()] = &GroupState{
|
||||||
ID: groupView.ID,
|
ID: groupView.ID,
|
||||||
Folded: groupView.GroupFolded,
|
Folded: groupView.GroupFolded,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue