changeset 2860:dbc799261811

client: fairway profile: removed old code
author Markus Kottlaender <markus@intevation.de>
date Thu, 28 Mar 2019 18:24:02 +0100
parents 405c2fd252f1
children d37c87f8d79d
files client/src/components/fairway/Fairwayprofile.vue
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Thu Mar 28 17:56:43 2019 +0100
+++ b/client/src/components/fairway/Fairwayprofile.vue	Thu Mar 28 18:24:02 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));