changeset 3422:34e846f89936

Merged.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 23 May 2019 15:33:23 +0200
parents fdfdef9eb3ef (current diff) ecd45c950430 (diff)
children 6592396f5061
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepthLNWL.vue	Thu May 23 15:33:02 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepthLNWL.vue	Thu May 23 15:33:23 2019 +0200
@@ -430,8 +430,8 @@
         .attr("transform", `translate(0 ${this.paddingTop})`);
     },
     drawBars() {
-      this.drawLNWL();
-      this.drawAFD();
+      if (this.fwLNWLData) this.drawLNWL();
+      if (this.fwLNWLData) this.drawAFD();
     },
     drawAFD() {
       let afd = this.diagram