mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 20:11:29 -05:00
🐛 Fix when editing a property name, the wrong property changes name (#6156)
This commit is contained in:
parent
f932f3efb1
commit
7284fb539f
1 changed files with 2 additions and 2 deletions
|
@ -850,11 +850,11 @@
|
|||
[:div {:key (str (:id shape) pos) :class (stl/css :variant-property-row)}
|
||||
[:> input-with-values* {:name (:name property)
|
||||
:values val
|
||||
:data-position (:pos property)
|
||||
:data-position pos
|
||||
:on-blur update-property-name}]
|
||||
[:> icon-button* {:variant "ghost"
|
||||
:aria-label (tr "workspace.shape.menu.remove-variant-property")
|
||||
:on-click remove-property
|
||||
:data-position (:pos property)
|
||||
:data-position pos
|
||||
:icon "remove"
|
||||
:disabled (<= (count properties) 1)}]]))])]])))
|
||||
|
|
Loading…
Add table
Reference in a new issue