From 7543590074884fbe426555942c6de1902ab70f8e Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Fri, 13 Jul 2018 13:17:41 +0200
Subject: ReportTable: Improve number and label UX

---
 src/ReportTable.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/ReportTable.vue')

diff --git a/src/ReportTable.vue b/src/ReportTable.vue
index 3ff5f30..0531ca4 100644
--- a/src/ReportTable.vue
+++ b/src/ReportTable.vue
@@ -67,7 +67,7 @@
 
         <b-table-column field="TalentWinrateBase" label="Level 1 Win Rate" meta="Estimated." :visible="hasTalents" sortable numeric>
           <template v-if="isNaN(props.row.TalentWinrateBase)">
-            {{ (100 * props.row.Winner).toFixed(2) }}% <!-- No Talent -->
+            {{ (100 * props.row.Winner).toFixed(0) }}% <!-- No Talent -->
           </template>
           <template v-else>
             {{ (100 * props.row.TalentWinrateBase).toFixed(0) }}%
@@ -81,8 +81,8 @@
           </template>
         </b-table-column>
 
-        <b-table-column field="BlitzPointsDelta" label="Points Difference" :visible="hasTalents" sortable numeric>
-          {{ props.row.BlitzPointsDelta.toFixed(2) }}
+        <b-table-column field="BlitzPointsDelta" label="Blitz Points" :visible="hasTalents" sortable numeric>
+          {{ (props.row.BlitzPointsDelta > 0? '+' : '') + props.row.BlitzPointsDelta.toFixed(2) }}
         </b-table-column>
 
         <b-table-column field="Winner" label="Win Rate" :visible="!hasTalents" sortable numeric>
-- 
cgit v1.3.1

