diff client/src/morphtool/Morphtool.vue @ 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 26ca04caa330
children 9d4af4b1c5c8
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