fix: update property type to use icon letter-t

pull/11491/head
Tienson Qin 2024-08-28 12:15:34 +08:00
parent 80737d624c
commit 32d379fa73
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@
(dropdown-editor-menuitem {:icon :pencil :title "Property name" :desc [:span.flex.items-center.gap-1 icon title]
:submenu-content (fn [ops] (name-edit-pane property (assoc ops :disabled? disabled?)))})
(let [disabled? (or (ldb/built-in? property) (and property-type (seq values)))]
(dropdown-editor-menuitem {:icon :hash
(dropdown-editor-menuitem {:icon :letter-t
:title "Property type"
:desc (if disabled?
(ui/tippy {:html [:div.w-96