0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 18:48:37 -05:00

🐛 Fix artboards thumbnail in another page

This commit is contained in:
Pablo Alba 2022-05-13 11:27:47 +02:00
parent 15418a252e
commit 448e0dd415

View file

@ -45,7 +45,7 @@
ptk/WatchEvent
(watch [it state _]
(let [page-id (or page-id (:current-page-id state))
objects (wsh/lookup-page-objects state)
objects (wsh/lookup-page-objects state page-id)
ids (into [] (filter some?) ids)
changes (reduce