🐛 Database unbind block causes entry to be deleted Fix https://github.com/siyuan-note/siyuan/issues/11101
This commit is contained in:
parent
428d6e189d
commit
1db8269b9f
1 changed files with 1 additions and 0 deletions
|
@ -1339,6 +1339,7 @@ func unbindAttributeViewBlock(operation *Operation, tx *Transaction) (err error)
|
|||
unbindBlockAv(tx, operation.AvID, value.BlockID)
|
||||
}
|
||||
value.BlockID = operation.NextID
|
||||
value.IsDetached = true
|
||||
if nil != value.Block {
|
||||
value.Block.ID = operation.NextID
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue