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

🐛 Fix thumbnails problem

This commit is contained in:
alonso.torres 2022-04-29 14:56:14 +02:00
parent 2f0e85f619
commit 39b0de1ced

View file

@ -79,7 +79,7 @@
(let [objects (:objects page) (let [objects (:objects page)
frame (some->> page :thumbnail-frame-id (get objects)) frame (some->> page :thumbnail-frame-id (get objects))
element (if frame element (if frame
(mf/element render/frame-svg #js {:objects objects :frame frame}) (mf/element render/frame-svg #js {:objects objects :frame frame :show-thumbnails? true})
(mf/element render/page-svg #js {:data page :thumbnails? true}))] (mf/element render/page-svg #js {:data page :thumbnails? true}))]
{:data (rds/renderToStaticMarkup element) {:data (rds/renderToStaticMarkup element)
:fonts @fonts/loaded :fonts @fonts/loaded