mirror of https://github.com/logseq/logseq
fix: can't click breadcrumbs
parent
ab8c8f47ae
commit
b929f02d20
|
@ -1623,7 +1623,10 @@
|
||||||
(let [parents (doall
|
(let [parents (doall
|
||||||
(for [{:block/keys [uuid title name]} parents]
|
(for [{:block/keys [uuid title name]} parents]
|
||||||
(when-not name ; not page
|
(when-not name ; not page
|
||||||
[:a {:href (rfe/href :page {:name uuid})}
|
[:a {:on-mouse-down (fn [e]
|
||||||
|
(util/stop e)
|
||||||
|
(route-handler/redirect! {:to :page
|
||||||
|
:path-params {:name uuid}}))}
|
||||||
(map-inline config title)])))
|
(map-inline config title)])))
|
||||||
parents (remove nil? parents)]
|
parents (remove nil? parents)]
|
||||||
(reset! parents-atom parents)
|
(reset! parents-atom parents)
|
||||||
|
|
Loading…
Reference in New Issue