mirror of
https://github.com/logseq/logseq.git
synced 2026-05-24 20:54:09 +00:00
fix(publishing): fix get page 404 error
This commit is contained in:
@@ -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")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user