Skip to content

Commit 260f651

Browse files
committed
fix: recursive alias redirect
1 parent 954b3b4 commit 260f651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/frontend/handler/route.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
(and (ldb/built-in? page) (ldb/private-built-in-page? page))))
9090
(notification/show! "Cannot go to an internal page." :warning)
9191
(if-let [source (and (not ignore-alias?) (db/get-alias-source-page (state/get-current-repo) (:db/id page)))]
92-
(redirect-to-page! (:block/uuid source) opts)
92+
(redirect-to-page! (:block/uuid source) (assoc opts :ignore-alias? true))
9393
(do
9494
;; Always skip onboarding when loading an existing whiteboard
9595
(when-not new-whiteboard? (state/set-onboarding-whiteboard! true))

0 commit comments

Comments
 (0)