Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-11-12 11:59:00 +08:00
parent 316de1fb43
commit 97c31e62ff
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

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