Occurred when home page was configured Fixes https://test.logseq.com/#/page/67ea96a6-067c-4569-a02a-6ff8d43619a0
@@ -414,7 +414,8 @@
:preview? preview?})
[:span.title.block
{:on-click (fn []
- (when (and (state/home?) (not preview?))
+ (when (and (not preview?)
+ (contains? #{:home :all-journals} (get-in (state/get-route-match) [:data :name])))
(route-handler/redirect-to-page! (:block/uuid page))))
:data-value @*input-value
:data-ref (:block/title page)