fix: clicking the file in the sync dialogue navigates to blank page

Closed https://github.com/logseq/logseq/issues/541
This commit is contained in:
Tienson Qin
2020-10-28 21:34:56 +08:00
parent 07d879ae89
commit 943d2b7b5c
5 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
(let [parents-atom (atom parents)
component [:div.block-parents.flex-row.flex
(when show-page?
[:a {:href (rfe/href :page {:name (util/encode-str page-name)})}
[:a {:href (rfe/href :page {:name page-name})}
(or (:page/original-name page)
(:page/name page))])