mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av
This commit is contained in:
parent
7a2e5782d8
commit
e4b2ffb188
1 changed files with 2 additions and 2 deletions
|
@ -4362,8 +4362,8 @@ func BatchReplaceAttributeViewBlocks(avID string, isDetached bool, oldNew []map[
|
|||
}
|
||||
|
||||
for _, oldNewMap := range oldNew {
|
||||
for oldBlockID, newBlockID := range oldNewMap {
|
||||
if err = replaceAttributeViewBlock0(attrView, oldBlockID, newBlockID, isDetached, nil); nil != err {
|
||||
for oldBlockID, newNodeID := range oldNewMap {
|
||||
if err = replaceAttributeViewBlock0(attrView, oldBlockID, newNodeID, isDetached, nil); nil != err {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue