mirror of https://github.com/logseq/logseq
fix: regression on allowing user to delete built-in pages
parent
438763d530
commit
fbe84d3db6
|
@ -101,7 +101,9 @@
|
|||
:options {:on-click #(page-handler/copy-page-url page-original-name)}})
|
||||
|
||||
(when-not (or contents?
|
||||
config/publishing?)
|
||||
config/publishing?
|
||||
(and db-based?
|
||||
(:logseq.property/built-in? page)))
|
||||
{:title (t :page/delete)
|
||||
:options {:on-click #(delete-page-confirm! page-name)}})
|
||||
|
||||
|
|
Loading…
Reference in New Issue