Mercurial > gemma
comparison client/src/components/importconfiguration/types/WaterwayProfiles.vue @ 5342:08dc7e5de1f5 extented-report
fixing linting errors
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 18 Jun 2021 12:05:57 +0200 |
parents | eb79bc545482 |
children | 84d01a536bec |
comparison
equal
deleted
inserted
replaced
5341:e434979f6ea6 | 5342:08dc7e5de1f5 |
---|---|
157 if (!files) return; | 157 if (!files) return; |
158 this.uploadLabel = files[0].name; | 158 this.uploadLabel = files[0].name; |
159 this.uploadFile = files[0]; | 159 this.uploadFile = files[0]; |
160 }, | 160 }, |
161 submit() { | 161 submit() { |
162 if (!this.url || !this.featureType || !this.uploadFile) | 162 if (!this.url || !this.featureType || !this.uploadFile) return; |
163 return; | |
164 let formData = new FormData(); | 163 let formData = new FormData(); |
165 formData.append("wp", this.uploadFile); | 164 formData.append("wp", this.uploadFile); |
166 formData.append("url", this.url); | 165 formData.append("url", this.url); |
167 formData.append("feature-type", this.featureType); | 166 formData.append("feature-type", this.featureType); |
168 formData.append("sort-by", this.sortBy); | 167 formData.append("sort-by", this.sortBy); |