mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix non-root copy only allowed inside a copy migration error
This commit is contained in:
parent
7c0a63c7da
commit
2924791cb0
1 changed files with 1 additions and 4 deletions
|
@ -746,10 +746,7 @@
|
|||
(fix-shape [shape]
|
||||
(cond-> shape
|
||||
(@detached-ids (:shape-ref shape))
|
||||
(dissoc shape
|
||||
:component-id
|
||||
:component-file
|
||||
:component-root)))]
|
||||
(ctk/detach-shape)))]
|
||||
(-> file-data
|
||||
(update :pages-index update-vals fix-container)
|
||||
(d/update-when :components update-vals fix-container))))
|
||||
|
|
Loading…
Add table
Reference in a new issue