mirror of https://github.com/logseq/logseq
fix(publishing): fix get page 404 error
parent
5bbc43b30d
commit
06d32ef2b0
|
@ -66,10 +66,10 @@
|
|||
(p/let [result (project-handler/delete-project current-project)]
|
||||
(when (:result result)
|
||||
(reset! editor-state :display)
|
||||
(state/remove-current-project)
|
||||
(state/reset-published-pages)
|
||||
(doseq [{:keys [title]} pages]
|
||||
(page-handler/page-add-properties! title {:published false}))
|
||||
(state/remove-current-project)
|
||||
(notification/show! "The project was deleted successfully." :success))))))
|
||||
:background "red")]
|
||||
|
||||
|
|
Loading…
Reference in New Issue