mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
cc3fcc1e97
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 {
|
for i, blockValue := range blockValues.Values {
|
||||||
|
if nil == blockValue.Block {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
if blockValue.Block.ID == n.ID {
|
if blockValue.Block.ID == n.ID {
|
||||||
blockValues.Values = append(blockValues.Values[:i], blockValues.Values[i+1:]...)
|
blockValues.Values = append(blockValues.Values[:i], blockValues.Values[i+1:]...)
|
||||||
changedAv = true
|
changedAv = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue