mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve processing when a database-bound block changes its type https://github.com/siyuan-note/siyuan/issues/12152
This commit is contained in:
@@ -772,12 +772,8 @@ func (tx *Transaction) doDelete(operation *Operation) (ret *TxErr) {
|
||||
return
|
||||
}
|
||||
|
||||
go func() {
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
WaitForWritingFiles()
|
||||
syncDelete2AttributeView(node)
|
||||
syncDelete2Block(node)
|
||||
}()
|
||||
syncDelete2AttributeView(node)
|
||||
syncDelete2Block(node)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user