Browse Source

fix: disallow removing tag properties from tags

Tienson Qin 8 months ago
parent
commit
04aaa700af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/property/config.cljs

+ 1 - 1
src/main/frontend/components/property/config.cljs

@@ -731,7 +731,7 @@
                 ;; Any property should be removable from Tag Properties
                  (if class-schema?
                    (contains? (set (map :db/id (:logseq.property.class/properties owner-block))) (:db/id property))
-                   (not (contains? #{:logseq.property.class/extends} (:db/ident property)))))
+                   (not (contains? #{:logseq.property.class/extends :logseq.property.class/properties} (:db/ident property)))))
 
         (dropdown-editor-menuitem
          {:id :delete-property :icon :x