Revert "fix: the first child block doesn't have left node"

This reverts commit 3e848232c2.
This commit is contained in:
defclass
2021-03-26 21:36:47 +08:00
parent abc529cb9f
commit 5fae81f667

View File

@@ -491,7 +491,7 @@
(let [parent (if uuid [:block/uuid uuid] (:page/id last-parent))
block (assoc block
:block/parent parent
:block/left nil)
:block/left parent)
parents' (conj parents block)
result' (conj result block)]
[others parents' result'])