mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
6a392c0e72
commit
19d3169637
1 changed files with 4 additions and 0 deletions
|
|
@ -1219,6 +1219,10 @@ func refreshDynamicRefTexts(updatedDefNodes map[string]*ast.Node, updatedTrees m
|
|||
|
||||
changedAv := false
|
||||
blockValues := attrView.GetBlockKeyValues()
|
||||
if nil == blockValues {
|
||||
continue
|
||||
}
|
||||
|
||||
for _, blockValue := range blockValues.Values {
|
||||
if blockValue.Block.ID == updatedDefNode.ID {
|
||||
newContent := getNodeRefText(updatedDefNode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue