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/ReportTable.vue | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/ReportTable.vue')

diff --git a/src/ReportTable.vue b/src/ReportTable.vue
index 9d3cea1..75a1369 100644
--- a/src/ReportTable.vue
+++ b/src/ReportTable.vue
@@ -63,11 +63,11 @@
 <script>
 import Vue from '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('report-table', {
-  props: [ 'reportService' ],
   mixins: [ RouterParamMixin ],
   data: function() {
     return {
@@ -78,10 +78,10 @@ export default Vue.component('report-table', {
   },
   computed: {
     report: function() {
-      return this.reportService.getReport(this.selectedMode);
+      return ReportService.getReport(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

