mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
🐛 Fix detaching a copy that has another copy inside produce a validation error
This commit is contained in:
parent
bdc303e778
commit
418ec34880
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@
|
|||
(when (some? head-component)
|
||||
(get-ref-shape (:data head-file) head-component shape))))]
|
||||
|
||||
(d/seek find-ref-shape-in-head parent-heads)))
|
||||
(some find-ref-shape-in-head parent-heads)))
|
||||
|
||||
(defn find-remote-shape
|
||||
"Recursively go back by the :shape-ref of the shape until find the correct shape of the original component"
|
||||
|
|
Loading…
Add table
Reference in a new issue