Mercurial > gemma
changeset 3419:ecd45c950430
afdLNWL: more robust drawing
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 23 May 2019 15:32:48 +0200 |
parents | 079243130949 |
children | 34e846f89936 |
files | client/src/components/fairway/AvailableFairwayDepthLNWL.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepthLNWL.vue Thu May 23 15:32:14 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepthLNWL.vue Thu May 23 15:32:48 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