Browse Source

fix: use block uuid instead of title when referencing a block

fixes https://github.com/logseq/db-test/issues/33
related to https://github.com/logseq/db-test/issues/40
Tienson Qin 1 year ago
parent
commit
1b6cbeabec
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/main/frontend/handler/page.cljs

+ 0 - 2
src/main/frontend/handler/page.cljs

@@ -395,8 +395,6 @@
               chosen' (string/replace-first chosen (str (t :new-page) " ") "")
               ref-text (if (and (de/entity? chosen-result) (not (ldb/page? chosen-result)))
                          (cond
-                           (and db-based? (seq (:block/tags chosen-result)))
-                           (page-ref/->page-ref (:block/title chosen-result))
                            db-based?
                            (page-ref/->page-ref (:block/uuid chosen-result))
                            :else