fix: parse-block preserve parent and left

This commit is contained in:
Tienson Qin
2021-03-25 22:00:51 +08:00
parent db4d8c8f47
commit 84fb245d8a
3 changed files with 22 additions and 39 deletions

View File

@@ -66,9 +66,7 @@
[block]
(let [refs (if-let [refs (seq (:block/refs-with-children block))]
refs
(concat
(:block/refs block)
(:block/tags block)))]
(:block/refs block))]
(distinct refs)))
(defn prepare-blocks