mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15659
This commit is contained in:
parent
39e2b7adf6
commit
920291d52b
3 changed files with 11 additions and 6 deletions
|
|
@ -310,7 +310,7 @@ func updateAttributeViewBlockText(updatedDefNodes map[string]*ast.Node) {
|
|||
|
||||
for _, blockValue := range blockValues.Values {
|
||||
if blockValue.Block.ID == updatedDefNode.ID {
|
||||
newIcon, newContent := getNodeAvBlockText(updatedDefNode)
|
||||
newIcon, newContent := getNodeAvBlockText(updatedDefNode, avID)
|
||||
if newIcon != blockValue.Block.Icon {
|
||||
blockValue.Block.Icon = newIcon
|
||||
changedAv = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue