changeset 1804:535a1a40f1df

yarn lint
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 15 Jan 2019 12:41:52 +0100
parents 975a7de89f05
children 26e660537d8b
files client/src/components/ImportApprovedGaugeMeasurement.vue client/src/components/ImportWaterwayProfiles.vue
diffstat 2 files changed, 28 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/ImportApprovedGaugeMeasurement.vue	Tue Jan 15 12:18:17 2019 +0100
+++ b/client/src/components/ImportApprovedGaugeMeasurement.vue	Tue Jan 15 12:41:52 2019 +0100
@@ -9,24 +9,26 @@
           icon="cloud-upload-alt"
           class="mr-2"
         ></font-awesome-icon>
-        <translate class="headline">Import approved gaugemeasurements</translate>
+        <translate class="headline"
+          >Import approved gaugemeasurements</translate
+        >
       </h6>
       <div class="card-body stretches-card">
         <div class="w-95 ml-auto mr-auto mt-4 mb-4">
           <div class="d-flex flex-row input-group mb-4">
             <div class="flex-column w-100">
               <div class="custom-file">
-              <input
-                accept=".csv"
-                type="file"
-                @change="fileSelected"
-                class="custom-file-input"
-                id="uploadFile"
-              />
-              <label class="custom-file-label" for="uploadFile">
-                {{ uploadLabel }}
-              </label>
-            </div>
+                <input
+                  accept=".csv"
+                  type="file"
+                  @change="fileSelected"
+                  class="custom-file-input"
+                  id="uploadFile"
+                />
+                <label class="custom-file-label" for="uploadFile">
+                  {{ uploadLabel }}
+                </label>
+              </div>
             </div>
           </div>
           <div class="buttons text-right">
@@ -97,7 +99,9 @@
         .then(() => {
           displayInfo({
             title: this.$gettext("Import"),
-            message: this.$gettext("Starting import of Approved Gauge Measurements")
+            message: this.$gettext(
+              "Starting import of Approved Gauge Measurements"
+            )
           });
           this.initialState();
         })
--- a/client/src/components/ImportWaterwayProfiles.vue	Tue Jan 15 12:18:17 2019 +0100
+++ b/client/src/components/ImportWaterwayProfiles.vue	Tue Jan 15 12:41:52 2019 +0100
@@ -16,17 +16,17 @@
           <div class="d-flex flex-row input-group mb-4">
             <div class="flex-column w-100">
               <div class="custom-file">
-              <input
-                accept=".zip"
-                type="file"
-                @change="fileSelected"
-                class="custom-file-input"
-                id="uploadFile"
-              />
-              <label class="custom-file-label" for="uploadFile">
-                {{ uploadLabel }}
-              </label>
-            </div>
+                <input
+                  accept=".zip"
+                  type="file"
+                  @change="fileSelected"
+                  class="custom-file-input"
+                  id="uploadFile"
+                />
+                <label class="custom-file-label" for="uploadFile">
+                  {{ uploadLabel }}
+                </label>
+              </div>
             </div>
           </div>
           <div class="buttons text-right">