# HG changeset patch # User Thomas Junk # Date 1644826759 -3600 # Node ID f54932eec5c00fb3445933512b2debe5773ee691 # Parent 1d847bc21bb746d5885003d9dca031f64fd8f2f5 Adding comments for usage of objnam diff -r 1d847bc21bb7 -r f54932eec5c0 client/src/components/fairway/BottleneckDialogue.vue --- a/client/src/components/fairway/BottleneckDialogue.vue Mon Feb 14 09:13:09 2022 +0100 +++ b/client/src/components/fairway/BottleneckDialogue.vue Mon Feb 14 09:19:19 2022 +0100 @@ -529,7 +529,7 @@ this.$store.dispatch("fairwayprofile/previousCuts"); if (this.bottleneck) { this.cutLabel = - this.bottleneck.get("objnam") + " (" + new Date().toISOString() + ")"; + this.bottleneck.get("objnam") + " (" + new Date().toISOString() + ")"; //objnam for Label is okay } }, selectedSurvey(survey) { diff -r 1d847bc21bb7 -r f54932eec5c0 client/src/components/fairway/Fairwayprofile.vue --- a/client/src/components/fairway/Fairwayprofile.vue Mon Feb 14 09:13:09 2022 +0100 +++ b/client/src/components/fairway/Fairwayprofile.vue Mon Feb 14 09:19:19 2022 +0100 @@ -240,7 +240,7 @@ ? `${this.$options.filters.waterlevel(this.waterlevel)} m` : this.$gettext("No valid value available"); return `${this.$gettext("Fairwayprofile")}: ${this.bottleneck.get( - "objnam" + "objnam" //for title label objnam is okay )} (${dates.join( ", " )}) WL: ${waterlevelLabel} ( ${waterlevelMeasurement} )`; @@ -286,7 +286,7 @@ fileName() { return this.downloadFilename( this.$gettext("Fairwayprofile"), - this.bottleneck.get("objnam") + this.bottleneck.get("objnam") //for filename objnam is okay ); } }, @@ -446,7 +446,7 @@ }, downloadPDF() { let fairwayInfo = - this.bottleneck.get("objnam") + + this.bottleneck.get("objnam") + //for Filename objnam is okay " (" + this.selectedSurvey.date_info + ")";