diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-30 20:12:01 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:09 +0100 |
| commit | b09d7a9f73e9b28425326227ce8fc4c3b72fb14d (patch) | |
| tree | 82a274cac4d8eee2c7e41c0a626a1ce63241946d /src/Highlights.vue | |
| parent | 9bca0c543a8a3d5fae1efd0a5d36ef8d1f517d6b (diff) | |
| download | brokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.tar.gz brokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.zip | |
Big Routing/Tabbing/ReportService refactor, add ad blocks
Diffstat (limited to 'src/Highlights.vue')
| -rw-r--r-- | src/Highlights.vue | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Highlights.vue b/src/Highlights.vue index c4d288d..85a8c2b 100644 --- a/src/Highlights.vue +++ b/src/Highlights.vue @@ -76,24 +76,24 @@ <script> import Vue from 'vue'; import TalentBox from './TalentBox.vue'; -import RouterParamMixin from './RouterParamMixin.js'; +import RouterParamMixin from './RouterParamMixin'; +import ReportService from './ReportService'; import * as maps from './maps/maps.js'; export default Vue.component('highlights', { - props: [ 'reportService' ], mixins: [ RouterParamMixin ], computed: { stats: function() { return { - topWin: this.reportService.getTopWin(this.selectedMode), - topUnpopularWin: this.reportService.getTopUnpopularWin(this.selectedMode), - topPick: this.reportService.getTopPick(this.selectedMode), - totalPicks: this.reportService.getTotalPicks(this.selectedMode), - highestLevelAvg: this.reportService.getHighestLevelAvg(this.selectedMode), - topRareWin: this.reportService.getTopRareWins(this.selectedMode), - topEpicWin: this.reportService.getTopEpicWins(this.selectedMode), - topLegendaryWin: this.reportService.getTopLegendaryWins(this.selectedMode), - lowestLevelAvg: this.reportService.getLowestLevelAvg(this.selectedMode), + topWin: ReportService.getTopWin(this.selectedMode), + topUnpopularWin: ReportService.getTopUnpopularWin(this.selectedMode), + topPick: ReportService.getTopPick(this.selectedMode), + totalPicks: ReportService.getTotalPicks(this.selectedMode), + highestLevelAvg: ReportService.getHighestLevelAvg(this.selectedMode), + topRareWin: ReportService.getTopRareWins(this.selectedMode), + topEpicWin: ReportService.getTopEpicWins(this.selectedMode), + topLegendaryWin: ReportService.getTopLegendaryWins(this.selectedMode), + lowestLevelAvg: ReportService.getLowestLevelAvg(this.selectedMode), }; }, playersPerMatch: function() { |
