From 68b9da012f836d39a6db8c4ccd2f68d1531a5c81 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Wed, 25 Jul 2018 20:45:20 +0200
Subject: Summaries: Remove average win rate, fix tooltip

---
 src/Summaries.vue | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

(limited to 'src/Summaries.vue')

diff --git a/src/Summaries.vue b/src/Summaries.vue
index cc20fb8..51bd277 100644
--- a/src/Summaries.vue
+++ b/src/Summaries.vue
@@ -1,21 +1,17 @@
 <template>
   <b-table :data="talentSummaries"
            :mobile-cards="false">
-    <template slot-scope="props">
-      <template slot-scope="props" slot="header">
-        <b-tooltip :active="!!props.column.meta" :label="props.column.meta || ''" position="is-bottom" dashed>
-          {{ props.column.label }}
-        </b-tooltip>
-      </template>
+    <template slot-scope="props" slot="header">
+      <b-tooltip :active="!!props.column.meta" :label="props.column.meta || ''" position="is-bottom" dashed>
+        {{ props.column.label }}
+      </b-tooltip>
+    </template>
 
+    <template slot-scope="props">
       <b-table-column field="Rarity" label="Rarity">
         {{ props.row.Rarity }}
       </b-table-column>
 
-      <b-table-column field="TotalWinner" label="Win Rate" sortable numeric>
-        {{ (100 * props.row.TotalWinner / props.row._Count).toFixed(2) }}%
-      </b-table-column>
-
       <b-table-column field="TalentWinrateBase" label="Level 1 Win Rate" meta="Estimated." sortable numeric>
         {{ (100 * props.row.TalentWinrateBase / props.row._Count).toFixed(2) }}%
       </b-table-column>
-- 
cgit v1.3.1

