From 9b7186c94f4886c5f19aabaaa999276a8d8cf1b1 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Fri, 16 Aug 2019 13:49:50 -0400 Subject: [PATCH] Formatting --- js/components/upload_input.js | 10 +++++++--- js/lib/upload.js | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/js/components/upload_input.js b/js/components/upload_input.js index a7ef694e..edf01450 100644 --- a/js/components/upload_input.js +++ b/js/components/upload_input.js @@ -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 + ) + }, }, } diff --git a/js/lib/upload.js b/js/lib/upload.js index 17e0b095..ff85ab4a 100644 --- a/js/lib/upload.js +++ b/js/lib/upload.js @@ -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 }) } } )