summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-12 10:58:37 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:22 +0100
commit6597004a76a30c6aa12603278209410d228cc7a6 (patch)
tree5eeb5ec4bb1cfca83ecb0521ffb13b9eb1a118a9 /src
parent12246fefe3b65318809cfc1d0f1bab8a55e9fef2 (diff)
downloadbrokentalents-6597004a76a30c6aa12603278209410d228cc7a6.tar.gz
brokentalents-6597004a76a30c6aa12603278209410d228cc7a6.zip
HeroSearchBox: Update for new TalentImage API
Diffstat (limited to 'src')
-rw-r--r--src/HeroSearchBox.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/HeroSearchBox.vue b/src/HeroSearchBox.vue
index ecb57b7..a2ec4a9 100644
--- a/src/HeroSearchBox.vue
+++ b/src/HeroSearchBox.vue
@@ -14,7 +14,10 @@
</b-table-column>
<b-table-column field="Talent" label="Talent">
- <talent-image :entry="props.row"></talent-image>
+ <div style="display: flex; align-items: center; justify-content: space-between;">
+ <span>{{ getTalentName(props.row.Talent) }}</span>
+ <talent-image :entry="props.row" :size="48"></talent-image>
+ </div>
</b-table-column>
<b-table-column field="Winner" label="Win Rate" sortable numeric>
@@ -39,6 +42,7 @@ export default Vue.component('hero-search-box', {
hero: maps.getHero(this.reportService.getTopPick('casual_aral').Actor),
totalPicks: this.reportService.getTotalPicks('casual_aral'),
getHero: maps.getHero,
+ getTalentName: maps.getTalentName,
};
},
computed: {