mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
Always add target of redirect-to-page! to 'Recent' list.
This change will put way more visited pages in the 'Recent' list, which (to me) feels better than the current behaviour.
This commit is contained in:
committed by
Tienson Qin
parent
60d3f1f60e
commit
d7759aeb79
@@ -25,7 +25,6 @@
|
||||
[frontend.handler.export :as export]
|
||||
[frontend.handler.image :as image-handler]
|
||||
[frontend.handler.notification :as notification]
|
||||
[frontend.handler.recent :as recent-handler]
|
||||
[frontend.handler.repeated :as repeated]
|
||||
[frontend.handler.repo :as repo-handler]
|
||||
[frontend.handler.route :as route-handler]
|
||||
@@ -1287,7 +1286,6 @@
|
||||
(let [page-name (string/lower-case page)]
|
||||
(state/clear-edit!)
|
||||
(insert-first-page-block-if-not-exists! page-name)
|
||||
(recent-handler/add-page-to-recent! (state/get-current-repo) page-name)
|
||||
(route-handler/redirect-to-page! page-name)))))
|
||||
|
||||
(defn open-link-in-sidebar!
|
||||
|
||||
Reference in New Issue
Block a user