changeset 2862:d37c87f8d79d

Merged
author Sascha Wilde <wilde@intevation.de>
date Thu, 28 Mar 2019 18:27:12 +0100
parents e6dc09896a4d (current diff) dbc799261811 (diff)
children e2d362589ce6
files
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Thu Mar 28 18:25:54 2019 +0100
+++ b/client/src/components/fairway/Fairwayprofile.vue	Thu Mar 28 18:27:12 2019 +0100
@@ -51,10 +51,6 @@
   },
   data() {
     return {
-      coordinatesInput: "",
-      coordinatesSelect: null,
-      cutLabel: "",
-      showLabelInput: false,
       width: null,
       height: null,
       margin: {
@@ -153,7 +149,6 @@
       return depth - this.relativeWaterLevelDelta;
     },
     drawDiagram() {
-      this.coordinatesSelect = null;
       d3.select(".diagram-container svg").remove();
       this.scaleFairwayProfile();
       let svg = d3.select(".diagram-container").append("svg");
@@ -362,7 +357,7 @@
     this.drawDiagram();
   },
   updated() {
-    this.scaleFairwayProfile();
+    this.drawDiagram();
   },
   destroyed() {
     window.removeEventListener("resize", debounce(this.drawDiagram));