Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 1 https://github.com/siyuan-note/siyuan/issues/16297

Daniel97c31e62fff1
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 4fd22201be..5ec309928a 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -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,