mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 03:38:18 +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)
|
||||
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*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user