mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 20:09:04 -05:00
🐛 Avoid linking to remote main, when adding a shape to a copy
For example, when doing a reset overrides after a component switch
This commit is contained in:
parent
936fb2b6f1
commit
02986f81bd
1 changed files with 4 additions and 4 deletions
|
@ -948,11 +948,11 @@
|
|||
(:id parent-shape)
|
||||
(:frame-id parent-shape)))
|
||||
|
||||
(nil? (:shape-ref original-shape))
|
||||
(assoc :shape-ref (:id original-shape))
|
||||
|
||||
set-remote-synced?
|
||||
(assoc :remote-synced true))))
|
||||
(assoc :remote-synced true)
|
||||
|
||||
:always
|
||||
(assoc :shape-ref (:id original-shape)))))
|
||||
|
||||
update-original-shape (fn [original-shape _new-shape]
|
||||
original-shape)
|
||||
|
|
Loading…
Add table
Reference in a new issue