summaryrefslogtreecommitdiff
path: root/src/TalentBox.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/TalentBox.vue')
-rw-r--r--src/TalentBox.vue22
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>