0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Fix incorrect team rename operation

This commit is contained in:
Andrey Antukh 2024-11-25 09:55:40 +01:00
parent 3ddd45e99b
commit 660bc1a4dd

View file

@ -450,7 +450,9 @@
(ptk/reify ::update-team (ptk/reify ::update-team
ptk/UpdateEvent ptk/UpdateEvent
(update [_ state] (update [_ state]
(assoc-in state [:teams id :name] name)) (-> state
(assoc-in [:teams id :name] name)
(assoc-in [:team :name] name)))
ptk/WatchEvent ptk/WatchEvent
(watch [_ _ _] (watch [_ _ _]