mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix(plugin): support empty vector for the value of blocks children
This commit is contained in:
@@ -2129,8 +2129,9 @@
|
||||
(into []
|
||||
(mapcat
|
||||
(fn [e]
|
||||
(let [e* (select-keys e [:content :properties])]
|
||||
(if-let [children (:children e)]
|
||||
(let [e* (select-keys e [:content :properties])
|
||||
children (:children e)]
|
||||
(if (seq children)
|
||||
[e* (tree->vec-tree (:children e))]
|
||||
[e*])))
|
||||
tree)))
|
||||
|
||||
Reference in New Issue
Block a user