mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix when editing a property name, the wrong property changes name (#6156)
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
This commit is contained in:
@@ -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)}]]))])]])))
|
||||
|
||||
Reference in New Issue
Block a user