mirror of
https://github.com/penpot/penpot.git
synced 2026-03-18 08:26:33 +00:00
🐛 Fix validation error when moving a nested inside a main
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user