From f8f702fbce2c9a5460437b3dca199d606ea088cc Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Sat, 12 May 2018 09:34:35 +0200
Subject: TalentBox: Do not lowercase name

---
 src/TalentBox.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/TalentBox.vue')

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: {
-- 
cgit v1.3.1

