Formatting
This commit is contained in:
parent
db73a12e95
commit
9b7186c94f
@ -110,7 +110,7 @@ export default {
|
|||||||
clearErrors: function() {
|
clearErrors: function() {
|
||||||
this.uploadError = false
|
this.uploadError = false
|
||||||
this.sizeError = false
|
this.sizeError = false
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
@ -126,7 +126,11 @@ export default {
|
|||||||
return this.hasInitialData && !this.changed
|
return this.hasInitialData && !this.changed
|
||||||
},
|
},
|
||||||
showErrors: function() {
|
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,
|
options,
|
||||||
function(err, result) {
|
function(err, result) {
|
||||||
if (err) {
|
if (err) {
|
||||||
resolve({ok: false})
|
resolve({ ok: false })
|
||||||
} else {
|
} else {
|
||||||
resolve({ok: true})
|
resolve({ ok: true })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user