mirror of
https://github.com/logseq/logseq.git
synced 2026-05-27 06:04:23 +00:00
fix: publishing regression creates today's journal page
when navigating to home or journal. Doesn't make sense to create pages in a read only context
This commit is contained in:
@@ -348,7 +348,8 @@
|
||||
(when (and (state/enable-journals? repo)
|
||||
(not (:graph/loading? @state/state))
|
||||
(not (state/loading-files? repo))
|
||||
(not (state/whiteboard-route?)))
|
||||
(not (state/whiteboard-route?))
|
||||
(not config/publishing?))
|
||||
(state/set-today! (date/today))
|
||||
(when (or (config/db-based-graph? repo)
|
||||
(config/local-file-based-graph? repo)
|
||||
|
||||
Reference in New Issue
Block a user