mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +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,10 +817,12 @@ func ChangeAttrViewLayout(blockID, avID string, newLayout av.LayoutType) (err er
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !view.IsGroupView() {
|
||||||
preferredGroupKey := getKanbanPreferredGroupKey(attrView)
|
preferredGroupKey := getKanbanPreferredGroupKey(attrView)
|
||||||
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
group := &av.ViewGroup{Field: preferredGroupKey.ID}
|
||||||
setAttributeViewGroup(attrView, view, group)
|
setAttributeViewGroup(attrView, view, group)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
blockIDs := treenode.GetMirrorAttrViewBlockIDs(avID)
|
blockIDs := treenode.GetMirrorAttrViewBlockIDs(avID)
|
||||||
for _, bID := range blockIDs {
|
for _, bID := range blockIDs {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue