mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 10:16:10 +01:00
🎨 Block data sync to Attribute View https://github.com/siyuan-note/siyuan/issues/8696
This commit is contained in:
parent
060d933390
commit
33e6a2ff2c
2 changed files with 12 additions and 1 deletions
|
|
@ -1221,6 +1221,12 @@ func refreshDynamicRefTexts(updatedDefNodes map[string]*ast.Node, updatedTrees m
|
|||
}
|
||||
if changedAv {
|
||||
av.SaveAttributeView(attrView)
|
||||
|
||||
evt := util.NewCmdResult("refreshAttributeView", 0, util.PushModeBroadcast)
|
||||
evt.Data = map[string]interface{}{
|
||||
"id": avID,
|
||||
}
|
||||
util.PushEvent(evt)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue