mirror of https://github.com/logseq/logseq
fix(reference): recursive display children
Fixed: https://github.com/logseq/logseq/issues/506pull/645/head
parent
8da5b36ab9
commit
606b545d6c
|
@ -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)
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
{:id encoded-page-name
|
||||
:start-level 2
|
||||
:ref? true
|
||||
:ref-child? false
|
||||
:group-by-page? true
|
||||
:editor-box editor/box}
|
||||
{})]
|
||||
|
|
Loading…
Reference in New Issue