0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 16:09:17 -05:00

Merge pull request #1902 from penpot/palba-fix-artboards-thumbnail-another-page

🐛 Fix artboards thumbnail in another page
This commit is contained in:
Alejandro 2022-05-13 13:17:46 +02:00 committed by GitHub
commit a3935953f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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