0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Merge pull request #4085 from penpot/niwinz-staging-bugfix-9

🐛 Fix team photo handling on binfile/v2 export-import operation
This commit is contained in:
Alejandro 2024-01-31 13:03:05 +01:00 committed by GitHub
commit 712130495e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,6 +129,9 @@
:id (str team-id) :id (str team-id)
:fonts (count fonts)) :fonts (count fonts))
(when-let [photo-id (:photo-id team)]
(vswap! bfc/*state* update :storage-objects conj photo-id))
(vswap! bfc/*state* update :teams conj team-id) (vswap! bfc/*state* update :teams conj team-id)
(vswap! bfc/*state* bfc/collect-storage-objects fonts) (vswap! bfc/*state* bfc/collect-storage-objects fonts)