diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-12 09:34:35 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 16:59:22 +0100 |
| commit | f8f702fbce2c9a5460437b3dca199d606ea088cc (patch) | |
| tree | 2c3256f89433020b0316a4eecfa3ad99344d82ae | |
| parent | 73cf7686ab120f8e18b15ff926bb46fb2aba9da3 (diff) | |
| download | brokentalents-f8f702fbce2c9a5460437b3dca199d606ea088cc.tar.gz brokentalents-f8f702fbce2c9a5460437b3dca199d606ea088cc.zip | |
TalentBox: Do not lowercase name
| -rw-r--r-- | src/TalentBox.vue | 4 |
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: { |
