diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-11 19:38:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 16:59:20 +0100 |
| commit | 33a386d58d8d4e78d9e370b159c286da2a47d6cd (patch) | |
| tree | 04f80d98289bd5e661a6ee35b8b959602249e94c /src/TalentBox.vue | |
| parent | 76c494dc87f8fe703ab48ae57c98dbbbd78c4c2d (diff) | |
| download | brokentalents-33a386d58d8d4e78d9e370b159c286da2a47d6cd.tar.gz brokentalents-33a386d58d8d4e78d9e370b159c286da2a47d6cd.zip | |
improve formatting
Diffstat (limited to 'src/TalentBox.vue')
| -rw-r--r-- | src/TalentBox.vue | 22 |
1 files changed, 11 insertions, 11 deletions
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); }, + }, }); </script> |
