mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
fa534d3e8b
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)
|
||||
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
||||
setAttributeViewGroup(attrView, view, group)
|
||||
if !view.IsGroupView() {
|
||||
preferredGroupKey := getKanbanPreferredGroupKey(attrView)
|
||||
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
||||
setAttributeViewGroup(attrView, view, group)
|
||||
}
|
||||
}
|
||||
|
||||
blockIDs := treenode.GetMirrorAttrViewBlockIDs(avID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue