mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 00:08:49 +01:00
🎨 Improve mirror databases refresh after updating database view layout https://github.com/siyuan-note/siyuan/issues/15233
This commit is contained in:
parent
34d7bc76c3
commit
9aa6916a2d
1 changed files with 1 additions and 0 deletions
|
|
@ -259,6 +259,7 @@ func ChangeAttrViewLayout(blockID, avID string, layout av.LayoutType) (err error
|
|||
if blockID == bID { // 当前操作的镜像库
|
||||
attrs[av.NodeAttrView] = view.ID
|
||||
node.AttributeViewType = string(view.LayoutType)
|
||||
attrView.ViewID = view.ID
|
||||
changed = true
|
||||
} else {
|
||||
if view.ID == attrs[av.NodeAttrView] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue