changeset 3257:97bd458acf0e

client: import stretches: avoid identifying distance_marks_ashore since they don't proviode the necessary information
author Markus Kottlaender <markus@intevation.de>
date Tue, 14 May 2019 18:57:12 +0200
parents 48801e13ef18
children 276fde700aa6
files client/src/components/ImportStretches.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/ImportStretches.vue	Tue May 14 18:51:16 2019 +0200
+++ b/client/src/components/ImportStretches.vue	Tue May 14 18:57:12 2019 +0200
@@ -367,7 +367,7 @@
   watch: {
     identifiedFeatures() {
       const filterDistanceMarks = x => {
-        return /^distance_marks/.test(x["id_"]);
+        return /^distance_marks_geoserver/.test(x["id_"]);
       };
       const distanceMark = this.identifiedFeatures.filter(filterDistanceMarks);
       if (distanceMark.length > 0) {