Tweak wording to reflect button usage for class page

For a class page this opens configuration for a page, not just add
property
This commit is contained in:
Gabriel Horner
2023-08-14 16:22:12 -04:00
parent 85c14ad13a
commit 677b3d3aa4

View File

@@ -369,7 +369,7 @@
[:a.fade-link.flex.flex-row.items-center
{:on-click #(reset! *configure-show? true)}
(ui/icon "plus" {:size 14})
[:div.ml-1.text-sm "Add property"]]]])])))
[:div.ml-1.text-sm (if (= "class" (:block/type page)) "Configure page" "Add property")]]]])])))
(defn- page-mouse-over
[e *control-show? *all-collapsed?]