# HG changeset patch # User Sascha L. Teichmann # Date 1558967887 -7200 # Node ID aa264021e2bffbcebbb0e93d02e030043483bf42 # Parent fdb0439850d598f8fb49c345ac4b786caadeb137# Parent 1fbb6dc7d3622bca99f385dd3621c96e618bad5e merged default into zpg-ldc branch. diff -r fdb0439850d5 -r aa264021e2bf client/src/components/fairway/AvailableFairwayDepth.vue --- a/client/src/components/fairway/AvailableFairwayDepth.vue Mon May 27 16:37:19 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepth.vue Mon May 27 16:38:07 2019 +0200 @@ -147,7 +147,7 @@ }; }, created() { - window.addEventListener("resize", debounce(this.drawDiagram), 100); + window.addEventListener("resize", debounce(this.drawDiagram), 200); }, mounted() { this.drawDiagram(); @@ -206,7 +206,7 @@ }, csvFileName() { return `${this.$gettext("fairwayavailability")}-${ - this.selectedFairwayAvailabilityFeature.properties.name + this.featureName }-${filters.surveyDate(this.fromDate)}-${filters.surveyDate( this.toDate )}-${this.$gettext(this.frequency)}-.csv`; @@ -236,6 +236,7 @@ )}) ${this.$gettext(this.frequency)}`; }, featureName() { + if (this.selectedFairwayAvailabilityFeature == null) return ""; return this.selectedFairwayAvailabilityFeature.properties.name; } }, diff -r fdb0439850d5 -r aa264021e2bf client/src/components/fairway/AvailableFairwayDepthDialogue.vue --- a/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Mon May 27 16:37:19 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Mon May 27 16:38:07 2019 +0200 @@ -11,26 +11,26 @@
- + Bottlenecks
- + Stretches
- + Sections