mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
fix: alias is not considered in some situations
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
(redirect! {:to :graph}))
|
||||
|
||||
(defn redirect-to-page!
|
||||
"Must ensure `page-name` is dereferenced (not an alias), or it will create a wrong new page with that name (#3511)."
|
||||
([page-name]
|
||||
(recent-handler/add-page-to-recent! (state/get-current-repo) page-name)
|
||||
(redirect! {:to :page
|
||||
|
||||
Reference in New Issue
Block a user