Formatting
This commit is contained in:
parent
db73a12e95
commit
9b7186c94f
@ -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
|
||||
)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -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 })
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user