mirror of
https://github.com/penpot/penpot.git
synced 2026-05-22 08:23:42 +00:00
🐛 Fix validation error on making a copy of a component that contains a group
This commit is contained in:
parent
c97362aee4
commit
289e4aa7bf
@ -417,7 +417,7 @@
|
|||||||
_ (dm/assert! (some? child))
|
_ (dm/assert! (some? child))
|
||||||
frame-id-child (if (cfh/frame-shape? object)
|
frame-id-child (if (cfh/frame-shape? object)
|
||||||
new-id
|
new-id
|
||||||
(:frame-id object))
|
frame-id)
|
||||||
|
|
||||||
[new-child new-child-objects updated-child-objects]
|
[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)]
|
(clone-object child new-id objects update-new-object update-original-object nil keep-ids? frame-id-child)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user