fix: enum property display should display as "properties"

since it's config defaults to it
This commit is contained in:
Gabriel Horner
2023-10-19 09:05:50 -04:00
parent d69bf65aa3
commit c29bd3cd39

View File

@@ -153,7 +153,7 @@
(some? (get block-properties property-id))
(let [schema (:block/schema (db/entity [:block/uuid property-id]))]
(and (= :enum (:type schema))
(not= (:position schema) "properties")))))
(= (:position schema) "block-beginning")))))
(defn get-block-enum-other-position-properties
[eid]