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:
parent
3ddd45e99b
commit
660bc1a4dd
1 changed files with 3 additions and 1 deletions
|
@ -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 [_ _ _]
|
||||||
|
|
Loading…
Reference in a new issue