mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
ba69c44f08
commit
785344e43c
1 changed files with 4 additions and 0 deletions
|
|
@ -1054,6 +1054,10 @@ func syncDelete2AttributeView(node *ast.Node) (changedAvIDs []string) {
|
|||
}
|
||||
|
||||
for i, blockValue := range blockValues.Values {
|
||||
if nil == blockValue.Block {
|
||||
continue
|
||||
}
|
||||
|
||||
if blockValue.Block.ID == n.ID {
|
||||
blockValues.Values = append(blockValues.Values[:i], blockValues.Values[i+1:]...)
|
||||
changedAv = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue