0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🐛 Fix validation error on making a copy of a component that contains a group

This commit is contained in:
Pablo Alba 2023-11-24 11:38:01 +01:00 committed by Andrey Antukh
parent c97362aee4
commit 289e4aa7bf

View file

@ -417,7 +417,7 @@
_ (dm/assert! (some? child))
frame-id-child (if (cfh/frame-shape? object)
new-id
(:frame-id object))
frame-id)
[new-child new-child-objects updated-child-objects]
(clone-object child new-id objects update-new-object update-original-object nil keep-ids? frame-id-child)]