Skip to content

Commit

Permalink
fix(publishing): fix get page 404 error
Browse files Browse the repository at this point in the history
  • Loading branch information
defclass authored and tiensonqin committed Dec 10, 2020
1 parent 5bbc43b commit 06d32ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/components/publishing.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

Expand Down

0 comments on commit 06d32ef

Please sign in to comment.