0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 20:09:04 -05:00

🐛 Fix problem with file-builder

This commit is contained in:
alonso.torres 2023-05-19 10:59:22 +02:00 committed by Andrey Antukh
parent ee8f071025
commit 8ddc7220f7

View file

@ -241,7 +241,7 @@
(update :parent-stack conjv (:id obj)))))
(defn close-artboard [file]
(let [parent-id (-> file :parent-id peek)
(let [parent-id (-> file :parent-stack peek)
parent (lookup-shape file parent-id)
current-frame-id (or (:frame-id parent)
(when (nil? (:current-component-id file))