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
|
||||
)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user