mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 03:56:12 +02:00
🐛 Fix problem with import zip file
This commit is contained in:
parent
d95d79a7c2
commit
f4d513b622
3 changed files with 20 additions and 13 deletions
|
@ -820,10 +820,13 @@
|
|||
(defn add-frame-data [props node]
|
||||
(let [grids (parse-grids node)
|
||||
show-content (get-meta node :show-content str->bool)
|
||||
hide-in-viewer (get-meta node :hide-in-viewer str->bool)]
|
||||
hide-in-viewer (get-meta node :hide-in-viewer str->bool)
|
||||
use-for-thumbnail (get-meta node :use-for-thumbnail str->bool)]
|
||||
(-> props
|
||||
(assoc :show-content show-content)
|
||||
(assoc :hide-in-viewer hide-in-viewer)
|
||||
(cond-> use-for-thumbnail
|
||||
(assoc :use-for-thumbnail use-for-thumbnail))
|
||||
(cond-> (d/not-empty? grids)
|
||||
(assoc :grids grids)))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue