0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-16 01:31:22 -05:00

🐛 Fix previous migration.

This commit is contained in:
Andrey Antukh 2021-07-15 17:39:56 +02:00
parent f29d54ad0d
commit 768216d9bc

View file

@ -264,7 +264,7 @@
(filterv (fn [id] (contains? objects id)) shapes)))
shape))
(update-page [id {:keys [objects] :as page}]
(d/mapm (partial update-object objects) objects))]
(update-page [_ page]
(update page :objects #(d/mapm (partial update-object %) %)))]
(update data :pages-index #(d/mapm update-page %))))