🐛 Fix variants combobox and select to new options format

This commit is contained in:
Pablo Alba 2025-07-07 11:43:24 +02:00 committed by Pablo Alba
parent a44c70ef69
commit 469d47eaf3

View File

@ -292,8 +292,8 @@
(->> (filter #(= (:name %) prop-name) prop-vals)
first
:value
(map (fn [val] {:id val
:label (if (str/blank? val) (str "(" (tr "labels.empty") ")") val)}))))
(mapv (fn [val] {:id val
:label (if (str/blank? val) (str "(" (tr "labels.empty") ")") val)}))))
(mf/defc component-variant-main-instance*