# HG changeset patch # User Fadi Abbud # Date 1564744512 -7200 # Node ID d54d86d27e82a5d9db1d9633b5c8f559b1ef8e13 # Parent 7c44af0b9370512b448c1d9fd360cb39f741dffd client: waterlevel: remove whitespace and add comment diff -r 7c44af0b9370 -r d54d86d27e82 client/src/components/gauge/Waterlevel.vue --- a/client/src/components/gauge/Waterlevel.vue Fri Aug 02 12:59:23 2019 +0200 +++ b/client/src/components/gauge/Waterlevel.vue Fri Aug 02 13:15:12 2019 +0200 @@ -454,7 +454,7 @@ .attr("fill-opacity", 0.6); svg - .selectAll(".hdc-line, .mw-line, .ldc-line, .rn-line ") + .selectAll(".hdc-line, .mw-line, .ldc-line, .rn-line") .attr("stroke-width", 1) .attr("fill", "none") .attr("clip-path", "url(#waterlevel-clip)"); @@ -769,9 +769,9 @@ }; }, drawRefLines({ refWaterLevels, diagram, scale, dimensions, extent }) { - // filling area between HDC and LDC if (refWaterLevels) { const { LDC, HDC } = this.determineLDCHDC(refWaterLevels); + // filling area between HDC and LDC if both of them are available if (LDC && HDC) { diagram .append("rect")