|
|
@@ -453,7 +453,7 @@
|
|
|
(property-handler/remove-block-property! repo (:block/uuid block) (:db/ident property))))]
|
|
|
(if (and class? class-schema?)
|
|
|
(-> (shui/dialog-confirm!
|
|
|
- [:p (str "Are you sure you want to delete this property?")]
|
|
|
+ [:p (str "Are you sure you want to delete the property from this tag?")]
|
|
|
{:id :delete-property-from-class
|
|
|
:data-reminder :ok})
|
|
|
(p/then remove!))
|
|
|
@@ -584,7 +584,9 @@
|
|
|
(ldb/class? owner-block)
|
|
|
(contains? #{:logseq.property/parent} (:db/ident property)))))
|
|
|
(dropdown-editor-menuitem
|
|
|
- {:id :delete-property :icon :x :title "Delete property" :desc "" :disabled? false
|
|
|
+ {:id :delete-property :icon :x
|
|
|
+ :title (if class-schema? "Delete property from tag" "Delete from from node")
|
|
|
+ :desc "" :disabled? false
|
|
|
:item-props {:class "opacity-60 focus:!text-red-rx-09 focus:opacity-100"
|
|
|
:on-select (fn [^js e]
|
|
|
(util/stop e)
|