# HG changeset patch # User Thomas Junk # Date 1561031274 -7200 # Node ID e1972355fcfb3536b3caed2850b0a87df618697f # Parent 73589ed481f590c7dfa607c9e6c0819d214fb5dc import_soundingresults: parameter 'single-beam:true|false' diff -r 73589ed481f5 -r e1972355fcfb client/src/components/importconfiguration/types/Soundingresults.vue --- a/client/src/components/importconfiguration/types/Soundingresults.vue Thu Jun 20 13:06:45 2019 +0200 +++ b/client/src/components/importconfiguration/types/Soundingresults.vue Thu Jun 20 13:47:54 2019 +0200 @@ -313,7 +313,11 @@ if (this.depthReference) formData.append("depth-reference", this.depthReference); if (this.projection) formData.append("epsg", this.projection); - if (this.beamType) formData.append("beam-type", this.beamType); + if (this.beamType) + formData.append( + "single-beam", + this.beamType === this.$options.BEAMTYPES.SINGLEBEAM + ); HTTP.post("/imports/sr", formData, { headers: { @@ -426,7 +430,8 @@ "depth-reference": this.depthReference, bottleneck: this.bottleneck.properties.objnam, date: this.importDate, - "beam-type": this.beamType, + "single-beam": + this.beamType === this.$options.BEAMTYPES.SINGLEBEAM, projection: this.projection }) )