mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: navigation back
This commit is contained in:
@@ -37,14 +37,14 @@
|
||||
(fn [route]
|
||||
(let [route-name (get-in route [:data :name])
|
||||
path (-> js/location .-hash (string/replace-first #"^#" ""))]
|
||||
(prn :debug :route-name route-name :path path)
|
||||
(route-handler/set-route-match! route)
|
||||
(mobile-nav/notify-route-change!
|
||||
{:route {:to route-name
|
||||
:path-params (:path-params route)
|
||||
:query-params (:query-params route)}
|
||||
:path path})
|
||||
|
||||
(route-handler/set-route-match! route)
|
||||
|
||||
(when (not= route-name :left-sidebar)
|
||||
(reset! mobile-state/*left-sidebar-open? false)
|
||||
(bottom-tabs/show!))
|
||||
|
||||
Reference in New Issue
Block a user