From 2661d6c122731d5d23763ea5647faa7159d06a1d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 31 Jan 2024 12:25:46 +0100 Subject: [PATCH] :bug: Fix team photo handling on binfile/v2 export-import operation --- backend/src/app/binfile/v2.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/app/binfile/v2.clj b/backend/src/app/binfile/v2.clj index 8ec2e1921..1a5f10342 100644 --- a/backend/src/app/binfile/v2.clj +++ b/backend/src/app/binfile/v2.clj @@ -129,6 +129,9 @@ :id (str team-id) :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* bfc/collect-storage-objects fonts)