diff --git a/src/main/frontend/components/publishing.cljs b/src/main/frontend/components/publishing.cljs index 9f1afab155..8f821402b9 100644 --- a/src/main/frontend/components/publishing.cljs +++ b/src/main/frontend/components/publishing.cljs @@ -104,13 +104,6 @@ (notification/show! "Failed to updated project name." :failed)))))) :background "green")] - [:div.cp__publishing-pj-bt - (ui/button - (t :publishing/cancel) - :on-click (fn [e] - (util/stop e) - (reset! editor-state :display)) - :background "pink")] [:div.cp__publishing-pj-bt (ui/button (t :publishing/delete) @@ -130,7 +123,14 @@ (page-handler/page-add-properties! page-name {:published false}))) (state/remove-current-project) (notification/show! "Delete project successful." :success)))))) - :background "red")]]))) + :background "pink")] + + [:div.cp__publishing-pj-bt + (ui/button + (t :publishing/cancel) + :on-click (fn [e] + (util/stop e) + (reset! editor-state :display)))]]))) (rum/defcs my-publishing < rum/reactive db-mixins/query