Use const for never redefined variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-02-24 10:10:13 +00:00
parent 8e9aefd1b9
commit 639df91fbe
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -122,7 +122,7 @@ export default {
},
setOrientation () {
let image = this.$refs.currentImage
const image = this.$refs.currentImage
if (image.width < image.height) {
this.orientation = 'vertical'