mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 22:41:38 +02:00
🐛 Fix duplicate board
This commit is contained in:
parent
53001921d5
commit
3ff13f1d8f
1 changed files with 4 additions and 2 deletions
|
@ -430,12 +430,14 @@
|
||||||
:parent-id parent-id
|
:parent-id parent-id
|
||||||
:frame-id frame-id)
|
:frame-id frame-id)
|
||||||
|
|
||||||
|
(dissoc :shapes
|
||||||
|
:main-instance?
|
||||||
|
:use-for-thumbnail?)
|
||||||
|
|
||||||
(cond->
|
(cond->
|
||||||
(or group? bool?)
|
(or group? bool?)
|
||||||
(assoc :shapes []))
|
(assoc :shapes []))
|
||||||
|
|
||||||
(dissoc :main-instance?
|
|
||||||
:use-for-thumbnail?)
|
|
||||||
(gsh/move delta)
|
(gsh/move delta)
|
||||||
(d/update-when :interactions #(ctsi/remap-interactions % ids-map objects)))
|
(d/update-when :interactions #(ctsi/remap-interactions % ids-map objects)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue