mirror of https://github.com/logseq/logseq
remove unneeded parentheses
parent
cfd38a3cee
commit
a157c58d84
|
@ -78,8 +78,8 @@
|
||||||
file-sync-graph-uuid (and (user-handler/logged-in?)
|
file-sync-graph-uuid (and (user-handler/logged-in?)
|
||||||
(file-sync-handler/enable-sync?)
|
(file-sync-handler/enable-sync?)
|
||||||
(file-sync-handler/get-current-graph-uuid))]
|
(file-sync-handler/get-current-graph-uuid))]
|
||||||
(when (and page (not (or (block?)
|
(when (and page (not (or block?
|
||||||
(config/publishing?))))
|
config/publishing?)))
|
||||||
(->>
|
(->>
|
||||||
[{:title (if favorited?
|
[{:title (if favorited?
|
||||||
(t :page/unfavorite)
|
(t :page/unfavorite)
|
||||||
|
@ -110,8 +110,8 @@
|
||||||
{:title (t :page/copy-page-url)
|
{:title (t :page/copy-page-url)
|
||||||
:options {:on-click #(page-handler/copy-page-url page-original-name)}})
|
:options {:on-click #(page-handler/copy-page-url page-original-name)}})
|
||||||
|
|
||||||
(when-not (or (contents?)
|
(when-not (or contents?
|
||||||
(config/publishing?))
|
config/publishing?)
|
||||||
{:title (t :page/delete)
|
{:title (t :page/delete)
|
||||||
:options {:on-click #(state/set-modal! (delete-page-dialog page-name))}})
|
:options {:on-click #(state/set-modal! (delete-page-dialog page-name))}})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue