edit-exif: cast vals to string
parent
1f1e9c9f60
commit
1742514be0
|
@ -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] = "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue