From b09d7a9f73e9b28425326227ce8fc4c3b72fb14d Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Wed, 30 May 2018 20:12:01 +0200
Subject: Big Routing/Tabbing/ReportService refactor, add ad blocks

---
 src/TopTalentsBox.vue | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/TopTalentsBox.vue')

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);
-- 
cgit v1.3.1

