From 33a386d58d8d4e78d9e370b159c286da2a47d6cd Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 11 May 2018 19:38:03 +0200 Subject: improve formatting --- src/TalentBox.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/TalentBox.vue') diff --git a/src/TalentBox.vue b/src/TalentBox.vue index eb6b4a8..c779e12 100644 --- a/src/TalentBox.vue +++ b/src/TalentBox.vue @@ -24,18 +24,18 @@ import Vue from 'vue'; import * as maps from './maps/maps'; export default Vue.component('talent-box', { - props: [ 'title', 'content', 'entry' ], - data: function() { - return { - }; + props: [ 'title', 'content', 'entry' ], + data: function() { + return { + }; + }, + computed: { + hero: function() { + return maps.getHero(this.entry.Actor); }, - computed: { - hero: function() { - return maps.getHero(this.entry.Actor); - }, - rarity: function() { - return maps.getTalentRarity(this.entry.Talent); - }, + rarity: function() { + return maps.getTalentRarity(this.entry.Talent); }, + }, }); -- cgit v1.3.1