From c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Mon, 25 Mar 2019 19:12:32 +0100
Subject: Use es6 method syntax

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

(limited to 'src/TopTalentsBox.vue')

diff --git a/src/TopTalentsBox.vue b/src/TopTalentsBox.vue
index fdda6c3..598c9a3 100644
--- a/src/TopTalentsBox.vue
+++ b/src/TopTalentsBox.vue
@@ -36,23 +36,23 @@ import * as maps from './maps/maps';
 
 export default Vue.component('top-talents-box', {
   mixins: [ RouterParamMixin ],
-  data: function() {
+  data() {
     return {
       getHero: maps.getHero,
       getTalentName: maps.getTalentName,
     };
   },
   computed: {
-    top10Talents: function() {
+    top10Talents() {
       return ReportService.getTop10Picks(this.selectedMode);
     },
-    hasTalents: function() {
+    hasTalents() {
       return maps.hasTalents(this.selectedMode);
     },
-    totalPicks: function() {
+    totalPicks() {
       return ReportService.getTotalPicks(this.selectedMode);
     },
-    playersPerMatch: function() {
+    playersPerMatch() {
       return maps.playersPerMatch(this.selectedMode);
     },
   },
-- 
cgit v1.3.1

