mirror of
https://github.com/penpot/penpot.git
synced 2025-04-14 07:51:35 -05:00
🐛 Fix validation error when moving a nested inside a main
This commit is contained in:
parent
4178be3acf
commit
68a1882a65
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@
|
|||
(let [shape (get objects id)
|
||||
parent (get objects parent-id)
|
||||
component-shape (ctn/get-component-shape objects shape)
|
||||
component-shape-parent (ctn/get-component-shape objects parent)
|
||||
component-shape-parent (ctn/get-component-shape objects parent {:allow-main? true})
|
||||
root-parent (ctn/get-instance-root objects parent)
|
||||
|
||||
detach? (and (ctk/in-component-copy-not-head? shape)
|
||||
|
|
Loading…
Add table
Reference in a new issue