# HG changeset patch # User Markus Kottlaender # Date 1559061602 -7200 # Node ID ca9590be1da2e23206f69cdc8dc34b0edc3d529e # Parent 30a47d9fc6676d42cf9b83a576ce3ee2a4b188da client: fairway profiles: removed more code diff -r 30a47d9fc667 -r ca9590be1da2 client/src/components/fairway/Fairwayprofile.vue --- 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 ||