diff options
Diffstat (limited to 'src/TopTalentsBox.vue')
| -rw-r--r-- | src/TopTalentsBox.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/TopTalentsBox.vue b/src/TopTalentsBox.vue index 44a4e16..88d5fb7 100644 --- a/src/TopTalentsBox.vue +++ b/src/TopTalentsBox.vue @@ -30,11 +30,11 @@ import Vue from 'vue'; import TalentImage from './TalentImage.vue'; import HeroImage from './HeroImage.vue'; -import RouterParamMixin from './RouterParamMixin.js'; +import RouterParamMixin from './RouterParamMixin'; +import ReportService from './ReportService'; import * as maps from './maps/maps'; export default Vue.component('top-talents-box', { - props: [ 'reportService' ], mixins: [ RouterParamMixin ], data: function() { return { @@ -44,13 +44,13 @@ export default Vue.component('top-talents-box', { }, computed: { top10Talents: function() { - return this.reportService.getTop10Picks(this.selectedMode); + return ReportService.getTop10Picks(this.selectedMode); }, hasTalents: function() { return maps.hasTalents(this.selectedMode); }, totalPicks: function() { - return this.reportService.getTotalPicks(this.selectedMode); + return ReportService.getTotalPicks(this.selectedMode); }, playersPerMatch: function() { return maps.playersPerMatch(this.selectedMode); |
