File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ export default {
7878 // The zoom level of the map in the new openstreetmap tab upon
7979 // Opening the link
8080 linkZoom: 18 ,
81-
8281 attribution: ' © <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' ,
8382 }
8483 },
@@ -138,7 +137,7 @@ export default {
138137 * @return {number}
139138 */
140139 focal () {
141- if (! this .exif ) {
140+ if (! this .exif ? . FNumber ) {
142141 return 0
143142 }
144143
@@ -149,7 +148,7 @@ export default {
149148 * @return {number}
150149 */
151150 focalLength () {
152- if (! this .exif ) {
151+ if (! this .exif ? . FocalLength ) {
153152 return 0
154153 }
155154
@@ -166,7 +165,7 @@ export default {
166165 * @return {string}
167166 */
168167 normalizedExposureTime () {
169- if (! this .exif ) {
168+ if (! this .exif ? . ExposureTime ) {
170169 return 0
171170 }
172171
@@ -218,7 +217,7 @@ export default {
218217 * @param {object} fileInfo the current file FileInfo
219218 */
220219 async update (fileInfo ) {
221- this .fileInfo = fileInfo
220+ this .$set ( this , ' fileInfo' , fileInfo)
222221 },
223222
224223 t,
You can’t perform that action at this time.
0 commit comments