mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
add migration
This commit is contained in:
@@ -390,7 +390,7 @@
|
||||
|
||||
(testing "namespaces"
|
||||
(let [expand-children (fn expand-children [ent parent]
|
||||
(if-let [children (:logseq.property/_parent ent)]
|
||||
(if-let [children (:block/_parent ent)]
|
||||
(cons {:parent (:block/title parent) :child (:block/title ent)}
|
||||
(mapcat #(expand-children % ent) children))
|
||||
[{:parent (:block/title parent) :child (:block/title ent)}]))]
|
||||
|
||||
Reference in New Issue
Block a user