summaryrefslogtreecommitdiff
path: root/src/TopTalentsBox.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-30 20:12:01 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:09 +0100
commitb09d7a9f73e9b28425326227ce8fc4c3b72fb14d (patch)
tree82a274cac4d8eee2c7e41c0a626a1ce63241946d /src/TopTalentsBox.vue
parent9bca0c543a8a3d5fae1efd0a5d36ef8d1f517d6b (diff)
downloadbrokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.tar.gz
brokentalents-b09d7a9f73e9b28425326227ce8fc4c3b72fb14d.zip
Big Routing/Tabbing/ReportService refactor, add ad blocks
Diffstat (limited to 'src/TopTalentsBox.vue')
-rw-r--r--src/TopTalentsBox.vue8
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);