# HG changeset patch # User Thomas Junk # Date 1557993676 -7200 # Node ID 707d4435aff398dc6003e68d47dd16b03fe5e0f2 # Parent 439e1865a2d2cad83702e8f6aab8c80b4a44297f redraw diagram on change of data diff -r 439e1865a2d2 -r 707d4435aff3 client/src/components/fairway/AvailableFairwayDepth.vue --- a/client/src/components/fairway/AvailableFairwayDepth.vue Thu May 16 09:52:32 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepth.vue Thu May 16 10:01:16 2019 +0200 @@ -530,6 +530,11 @@ this.diagram.selectAll(".domain").attr("stroke", "black"); } }, + watch: { + fwData() { + this.drawDiagram(); + } + }, LEGEND: app.$gettext("Sum of days"), COLORS: { LDC: "#FF855E",