Mercurial > gemma
changeset 5579:f54932eec5c0 surveysperbottleneckid
Adding comments for usage of objnam
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 14 Feb 2022 09:19:19 +0100 |
parents | 1d847bc21bb7 |
children | 0f258757e73a |
files | client/src/components/fairway/BottleneckDialogue.vue client/src/components/fairway/Fairwayprofile.vue |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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 + ")";