changeset 1002:99d27dc9db5e persistent-import-queue

fix: Morphtool works again
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 22 Oct 2018 17:34:59 +0200
parents e2860eff5d03
children 7a4d233be077
files client/src/morphtool/Morphtool.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue	Mon Oct 22 17:17:43 2018 +0200
+++ b/client/src/morphtool/Morphtool.vue	Mon Oct 22 17:34:59 2018 +0200
@@ -97,7 +97,7 @@
     ...mapState("identifystore", ["identifiedFeatures"]),
     ...mapState("morphstore", ["selectedMorph"]),
     selectedBottleneck: function() {
-      if (this.identifiedFeatures) {
+      if (this.identifiedFeatures && !this.drawMode) {
         for (let feature of this.identifiedFeatures) {
           let id = feature.getId();
           // RegExp.prototype.test() works with number, str and undefined