summaryrefslogtreecommitdiff
path: root/src/TalentBox.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/TalentBox.vue')
-rw-r--r--src/TalentBox.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TalentBox.vue b/src/TalentBox.vue
index 3e716f7..d9f220e 100644
--- a/src/TalentBox.vue
+++ b/src/TalentBox.vue
@@ -5,7 +5,7 @@
<div class="column is-centered">
<figure class="image is-64x64 hero-image-slot">
- <img class="hero-image" :src="'dist/assets/hero-icons/' + hero + '.png'" :alt="entry.Actor">
+ <img class="hero-image" :src="'dist/assets/hero-icons/' + hero.toLowerCase() + '.png'" :alt="entry.Actor">
</figure>
<p class="hero-name">{{ hero }}</p>
</div>
@@ -70,7 +70,7 @@ export default Vue.component("talent-box", {
props: ["title", "content", "entry", "type", "value", "label"],
data: function() {
return {
- hero: maps.getHero(this.entry.Actor).toLowerCase()
+ hero: maps.getHero(this.entry.Actor),
};
},
components: {