mirror of https://github.com/logseq/logseq
fix: prevent page editing on published graphs
parent
7f93374802
commit
e21de5c30b
|
@ -315,7 +315,7 @@
|
|||
repo
|
||||
(:db/id page)
|
||||
:page))
|
||||
(when (and (not hls-page?) (not fmt-journal?))
|
||||
(when (and (not hls-page?) (not fmt-journal?) (not config/publishing?))
|
||||
(reset! *input-value (if untitled? "" old-name))
|
||||
(reset! *edit? true))))}
|
||||
(when (not= icon "") [:span.page-icon icon])
|
||||
|
|
Loading…
Reference in New Issue