From 1742514be0768e42747475c03f6ba2bb4835e664 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 8 Mar 2023 16:00:46 -0800 Subject: [PATCH] edit-exif: cast vals to string --- src/components/modal/EditExif.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/EditExif.vue b/src/components/modal/EditExif.vue index abcd9f8b..3d101709 100644 --- a/src/components/modal/EditExif.vue +++ b/src/components/modal/EditExif.vue @@ -92,7 +92,7 @@ export default defineComponent({ const ePhoto = photo.imageInfo?.exif[field.field]; const eCurr = exif[field.field]; if (ePhoto && (eCurr === null || ePhoto === eCurr)) { - exif[field.field] = ePhoto; + exif[field.field] = String(ePhoto); } else { exif[field.field] = ""; }