changeset 3491:76d63f18f55f zpg-ldc

soundingresult_import: added ZPG as available reference
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 27 May 2019 17:04:03 +0200
parents aa264021e2bf
children 73285a90cab2
files client/src/components/importconfiguration/types/Soundingresults.vue
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importconfiguration/types/Soundingresults.vue	Mon May 27 16:38:07 2019 +0200
+++ b/client/src/components/importconfiguration/types/Soundingresults.vue	Mon May 27 17:04:03 2019 +0200
@@ -366,9 +366,12 @@
     },
     depthReferenceOptions() {
       if (this.bottleneck) {
-        return Object.keys(
-          JSON.parse(this.bottleneck.properties.reference_water_levels)
-        );
+        return [
+          ...Object.keys(
+            JSON.parse(this.bottleneck.properties.reference_water_levels)
+          ),
+          "ZPG"
+        ];
       }
       return [];
     }