Browse Source

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

close #2188
Tienson Qin 4 years ago
parent
commit
aa72c37c2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
src/main/frontend/handler/editor.cljs

@@ -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)