# HG changeset patch # User Sascha L. Teichmann # Date 1558618403 -7200 # Node ID 34e846f89936aaae1622e26fadb1ab8eaef8f58f # Parent fdfdef9eb3ef1cb4692c6e5497aa763eb53049c1# Parent ecd45c950430a4db14f17c13332feba102d260f9 Merged. diff -r fdfdef9eb3ef -r 34e846f89936 client/src/components/fairway/AvailableFairwayDepthLNWL.vue --- 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