mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 02:08:24 +02:00
🐛 Fix problem in plugins with renaming components
This commit is contained in:
parent
8217bbc7a0
commit
9c626d22c7
3 changed files with 3 additions and 2 deletions
|
@ -641,7 +641,7 @@
|
|||
:else
|
||||
(let [component (u/proxy->library-component self)
|
||||
value (dm/str (d/nilv (:path component) "") " / " value)]
|
||||
(st/emit! (dwl/rename-component id value)))))}
|
||||
(st/emit! (dwl/rename-component-and-main-instance id value)))))}
|
||||
|
||||
:path
|
||||
{:this true
|
||||
|
|
|
@ -211,7 +211,7 @@
|
|||
(u/display-not-valid :name value)
|
||||
|
||||
:else
|
||||
(st/emit! (dwsh/update-shapes [id] #(assoc % :name value))))))}
|
||||
(st/emit! (dw/end-rename-shape id value)))))}
|
||||
|
||||
:blocked
|
||||
{:this true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue