# HG changeset patch # User Thomas Junk # Date 1538496447 -7200 # Node ID 53fcb44140453ea1f840b972a906a309486b64e7 # Parent d612bc4dc3e94c3c151bb48c554a5978ce82a252 repaired diff -r d612bc4dc3e9 -r 53fcb4414045 client/src/application/Morphtool.vue --- 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; }