edit-exif: cast vals to string

pull/465/head
Varun Patil 2023-03-08 16:00:46 -08:00
parent 1f1e9c9f60
commit 1742514be0
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export default defineComponent({
const ePhoto = photo.imageInfo?.exif[field.field]; const ePhoto = photo.imageInfo?.exif[field.field];
const eCurr = exif[field.field]; const eCurr = exif[field.field];
if (ePhoto && (eCurr === null || ePhoto === eCurr)) { if (ePhoto && (eCurr === null || ePhoto === eCurr)) {
exif[field.field] = ePhoto; exif[field.field] = String(ePhoto);
} else { } else {
exif[field.field] = ""; exif[field.field] = "";
} }