Formatting

This commit is contained in:
richard-dds 2019-08-16 13:49:50 -04:00
parent db73a12e95
commit 9b7186c94f
2 changed files with 9 additions and 5 deletions

View File

@ -110,7 +110,7 @@ export default {
clearErrors: function() {
this.uploadError = false
this.sizeError = false
}
},
},
computed: {
@ -126,7 +126,11 @@ export default {
return this.hasInitialData && !this.changed
},
showErrors: function() {
return (!this.changed && this.initialErrors) || this.uploadError || this.sizeError
}
return (
(!this.changed && this.initialErrors) ||
this.uploadError ||
this.sizeError
)
},
},
}

View File

@ -32,9 +32,9 @@ class AzureUploader {
options,
function(err, result) {
if (err) {
resolve({ok: false})
resolve({ ok: false })
} else {
resolve({ok: true})
resolve({ ok: true })
}
}
)