mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: remove non exists block refs when importing from files
This commit is contained in:
@@ -351,6 +351,7 @@
|
||||
(if (string? ref)
|
||||
{:block/name (string/lower-case ref)}
|
||||
ref)))
|
||||
(remove vector?)
|
||||
(distinct))]
|
||||
(recur (rest blocks)
|
||||
(conj acc (assoc block :block/path-refs path-ref-pages))
|
||||
|
||||
Reference in New Issue
Block a user