Mercurial > gemma
changeset 893:5ea4c3f5d2a7
refinement of bottleneck selection
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 02 Oct 2018 14:44:59 +0200 |
parents | 81b84ad962f8 |
children | 1cd749dcb6a3 |
files | client/src/application/Morphtool.vue |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/application/Morphtool.vue Tue Oct 02 14:34:57 2018 +0200 +++ b/client/src/application/Morphtool.vue Tue Oct 02 14:44:59 2018 +0200 @@ -17,6 +17,7 @@ <div v-if="selectedMorph" @click="clearSelection" class="ui-element shadow morphtool"> <div class="d-flex flex-row justify-content-between"> <i class="fa fa-close"></i> + <small>Bottleneck: </small> <h6>{{selectedBottleneck.get("objnam")}}</h6> </div> </div> @@ -98,6 +99,7 @@ for (let feature of this.identifiedFeatures) { let id = feature.getId(); if (id && id.replace(/[.][^.]*$/, "") === "bottlenecks") { + this.$store.commit("mapstore/setSelectedMorph", null); return feature; } }