mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
refactor: force outliner.tree/-del to delete all children
Except the children have been moved.
This commit is contained in:
@@ -298,7 +298,7 @@ when undo this op, this original entity-map will be transacted back into db")
|
||||
(outliner-core/delete-blocks! repo conn
|
||||
(common-config/get-date-formatter (worker-state/get-config repo))
|
||||
block-entities
|
||||
{:children? true})))
|
||||
{})))
|
||||
(when (every? nil? (map #(d/entity @conn [:block/uuid %]) block-uuids))
|
||||
[:push-undo-redo {}]))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user