From b64a9f0cf4a36c5802bceb02556c3607177d58ba Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 4 Jul 2023 11:10:09 +0200 Subject: [PATCH] :bug: Fix graphic item rename on assets pannel --- CHANGES.md | 3 +-- frontend/src/app/main/ui/workspace/sidebar/assets.cljs | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c978bec22..41a249760 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,8 +30,7 @@ - Fix search font visualitation [Taiga #5523](https://tree.taiga.io/project/penpot/issue/5523) - Fix create and account only with spaces [Taiga #5518](https://tree.taiga.io/project/penpot/issue/5518) - Fix context menu outside screen [Taiga #5524](https://tree.taiga.io/project/penpot/issue/5524) - -### :arrow_up: Deps updates +- Fix graphic item rename on assets pannel [Taiga #5556](https://tree.taiga.io/project/penpot/issue/5556) ### :heart: Community contributions by (Thank you!) diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs index 339aa0bf6..0f8ff338f 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs @@ -1078,7 +1078,8 @@ (mf/use-fn (fn [] (swap! state (fn [state] - (assoc state :renaming (:component-id state)))))) + (assoc state :renaming (:object-id state)))))) + cancel-rename (mf/use-fn (fn []