mirror of
https://github.com/penpot/penpot.git
synced 2026-03-04 17:24:21 +00:00
🐛 Fix non-root copy only allowed inside a copy migration error
This commit is contained in:
committed by
Andrey Antukh
parent
7c0a63c7da
commit
2924791cb0
@@ -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))))
|
||||
|
||||
Reference in New Issue
Block a user