mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +00:00
🐛 Fix variants combobox and select to new options format
This commit is contained in:
parent
a44c70ef69
commit
469d47eaf3
@ -292,8 +292,8 @@
|
|||||||
(->> (filter #(= (:name %) prop-name) prop-vals)
|
(->> (filter #(= (:name %) prop-name) prop-vals)
|
||||||
first
|
first
|
||||||
:value
|
:value
|
||||||
(map (fn [val] {:id val
|
(mapv (fn [val] {:id val
|
||||||
:label (if (str/blank? val) (str "(" (tr "labels.empty") ")") val)}))))
|
:label (if (str/blank? val) (str "(" (tr "labels.empty") ")") val)}))))
|
||||||
|
|
||||||
|
|
||||||
(mf/defc component-variant-main-instance*
|
(mf/defc component-variant-main-instance*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user