mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 11:46:09 +01:00
🎨 Block data sync to Attribute View https://github.com/siyuan-note/siyuan/issues/8696
This commit is contained in:
parent
8d628593fa
commit
8ad1732896
1 changed files with 1 additions and 5 deletions
|
|
@ -1222,11 +1222,7 @@ 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)
|
||||
util.BroadcastByType("protyle", "refreshAttributeView", 0, "", map[string]interface{}{"id": avID})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue