0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Fixed dashboard edition on new project

This commit is contained in:
alonso.torres 2020-12-08 12:16:17 +01:00 committed by Hirunatan
parent 07e0c02d11
commit 07d77c1320

View file

@ -394,7 +394,9 @@
(ptk/reify ::rename-project
ptk/UpdateEvent
(update [_ state]
(assoc-in state [:projects team-id id :name] name))
(-> state
(assoc-in [:projects team-id id :name] name)
(update :dashboard-local dissoc :project-for-edit)))
ptk/WatchEvent
(watch [_ state stream]