This commit is contained in:
Daniel 2023-09-07 18:06:10 +08:00
parent 02776afc87
commit 10cba1dc98
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -512,6 +512,7 @@ func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error
if !gulu.Str.Contains(values.BlockID, operation.SrcIDs) {
tmp = append(tmp, keyValues.Values[i])
} else {
// Remove av block also remove node attr https://github.com/siyuan-note/siyuan/issues/9091#issuecomment-1709824006
if bt := treenode.GetBlockTree(values.BlockID); nil != bt {
tree := trees[bt.RootID]
if nil == tree {