0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🐛 Fix automatic shape naming on workspace.

This commit is contained in:
Andrey Antukh 2020-03-23 15:25:57 +01:00
parent 3f8031cd0e
commit 112140c006

View file

@ -899,7 +899,7 @@
in the current workspace page."
[state]
(let [page-id (::page-id state)
objects (get-in state [:workspace-page page-id :objects])]
objects (get-in state [:workspace-data page-id :objects])]
(into #{} (map :name) (vals objects))))
(defn impl-generate-unique-name