changeset 910:53fcb4414045

repaired
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 02 Oct 2018 18:07:27 +0200
parents d612bc4dc3e9
children 86278692c30c
files client/src/application/Morphtool.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/application/Morphtool.vue	Tue Oct 02 17:40:22 2018 +0200
+++ b/client/src/application/Morphtool.vue	Tue Oct 02 18:07:27 2018 +0200
@@ -98,7 +98,7 @@
       if (this.identifiedFeatures) {
         for (let feature of this.identifiedFeatures) {
           let id = feature.getId();
-          if (id && /bottlenecks/.test(id)) {
+          if (id && id.replace(/[.][^.]*$/, "") === "bottlenecks") {
             this.$store.commit("mapstore/setSelectedMorph", null);
             return feature;
           }