fix(reference): recursive display children

Fixed: https://github.com/logseq/logseq/issues/506
This commit is contained in:
defclass
2020-11-04 17:37:54 +08:00
committed by Tienson Qin
parent 8da5b36ab9
commit 606b545d6c
2 changed files with 2 additions and 1 deletions

View File

@@ -1292,7 +1292,7 @@
(rum/with-key (block-container (assoc config :block/uuid (:block/uuid child)) child)
(:block/uuid child)))))])
(when (and ref? (not ref-child?))
(when ref?
(let [children (-> (db/get-block-children-unsafe repo uuid)
db/sort-by-pos)]
(when (seq children)