From a1feb1c99e833b2fc6760f018692da437f87406c Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 28 Mar 2020 18:18:05 +0100 Subject: [PATCH] Frontend: Code clean-up #225 Signed-off-by: Michael Mayer --- frontend/src/model/photo.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/model/photo.js b/frontend/src/model/photo.js index ded28a274..c2b663edc 100644 --- a/frontend/src/model/photo.js +++ b/frontend/src/model/photo.js @@ -230,23 +230,23 @@ class Photo extends Abstract { const values = this.getValues(true); if(values.PhotoTitle) { - values.ModifiedTitle = true + values.ModifiedTitle = true; } if(values.Description) { - values.ModifiedDescription = true + values.ModifiedDescription = true; } if(values.PhotoLat || values.PhotoLng || values.PhotoAltitude || values.PhotoCountry) { - values.ModifiedLocation = true + values.ModifiedLocation = true; } if(values.TakenAt || values.TimeZone) { - values.ModifiedDate = true + values.ModifiedDate = true; } if(values.CameraID || values.LensID) { - values.ModifiedCamera = true + values.ModifiedCamera = true; } return Api.put(this.getEntityResource(), values).then((response) => Promise.resolve(this.setValues(response.data)));