# HG changeset patch # User Thomas Junk # Date 1540386546 -7200 # Node ID bf10a7f990ccfd2d5e17b25e17262e2c8fae514b # Parent 1fdeb9404afb72a0ca7250f3e6d372167f172724 refac: fairway profile retrieves current data from store diff -r 1fdeb9404afb -r bf10a7f990cc client/src/application/Main.vue --- a/client/src/application/Main.vue Wed Oct 24 14:50:25 2018 +0200 +++ b/client/src/application/Main.vue Wed Oct 24 15:09:06 2018 +0200 @@ -15,7 +15,6 @@ :selectedWaterLevel="selectedWaterLevel" :fairwayCoordinates="fairwayCoordinates" :waterLevels="waterLevels" - :data="coordinates" :height="height" :width="width" :xScale="xAxis" @@ -87,10 +86,6 @@ "availableSurveys" ]), ...mapState("fairwayprofile", ["selectedMorph"]), - coordinates() { - const currentSurveyDate = this.selectedMorph.date_info; - return this.currentProfile[currentSurveyDate]; - }, additionalSurveys() { if (!this.availableSurveys) return []; return this.availableSurveys.surveys.filter(x => { diff -r 1fdeb9404afb -r bf10a7f990cc client/src/fairway/Fairwayprofile.vue --- a/client/src/fairway/Fairwayprofile.vue Wed Oct 24 14:50:25 2018 +0200 +++ b/client/src/fairway/Fairwayprofile.vue Wed Oct 24 15:09:06 2018 +0200 @@ -1,22 +1,28 @@