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:
parent
2f0e85f619
commit
39b0de1ced
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue