Mercurial > gemma
changeset 3513:ca9590be1da2 waterlevel-in-crossprofile
client: fairway profiles: removed more code
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 28 May 2019 18:40:02 +0200 |
parents | 30a47d9fc667 |
children | fcb4f3fabde8 |
files | client/src/components/fairway/Fairwayprofile.vue |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Tue May 28 18:27:21 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Tue May 28 18:40:02 2019 +0200 @@ -151,6 +151,7 @@ "maxAlt", "selectedWaterLevel" ]), + ...mapState("bottlenecks", ["selectedSurvey", "selectedBottleneck"]), ...mapState("application", ["paneSetup"]), title() { let dates = [this.selectedSurvey.date_info]; @@ -160,17 +161,6 @@ this.selectedBottleneck } (${dates.join(", ")})`; }, - selectedSurvey: { - get() { - return this.$store.state.bottlenecks.selectedSurvey; - } - }, - selectedBottleneck: { - get() { - return this.$store.state.bottlenecks.selectedBottleneck; - } - }, - ...mapState("bottlenecks", ["selectedSurvey"]), currentData() { if ( !this.selectedSurvey ||