From 6597004a76a30c6aa12603278209410d228cc7a6 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Sat, 12 May 2018 10:58:37 +0200
Subject: HeroSearchBox: Update for new TalentImage API

---
 src/HeroSearchBox.vue | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/HeroSearchBox.vue')

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

