fix: hide new editing for publishing

This commit is contained in:
Gabriel Horner
2023-10-16 08:08:24 -04:00
parent 461d3cd724
commit ddf1043fb3

View File

@@ -372,7 +372,8 @@
:inline-text component-block/inline-text)))])
(when (and class-or-property?
(not (property-handler/block-has-viewable-properties? page)))
(not (property-handler/block-has-viewable-properties? page))
(not config/publishing?))
[:a.fade-link.ml-2 {:on-click #(swap! *show-page-properties? not)}
(if @*show-page-properties?
"Back"