fix: Nothing found for entity id [:block/uuid nil]

close #2188
This commit is contained in:
Tienson Qin
2021-06-15 09:53:04 +08:00
parent d4fd6acd28
commit aa72c37c2b

View File

@@ -263,7 +263,7 @@
(if (and (:block/pre-block? block)
(seq (:block/properties block)))
(let [page-properties (:block/properties block)
str->page (fn [n] {:block/name (string/lower-case n) :block/original-name n})
str->page (fn [n] (block/page-name->map n true))
refs (->> page-properties
(filter (fn [[_ v]] (coll? v)))
(vals)