mirror of
https://github.com/penpot/penpot.git
synced 2025-06-30 15:06:59 +02:00
🐛 Fix validation error on making a copy of a component that contains a group
This commit is contained in:
parent
c97362aee4
commit
289e4aa7bf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue