summaryrefslogtreecommitdiff
path: root/src/TopTalentsBox.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-07-20 17:09:23 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:32 +0100
commita9a468bd18f56924affe51188a857c5595fc858d (patch)
treefc6908227c37be9a3a3cfc34768d614e30c6e795 /src/TopTalentsBox.vue
parentbaf2f9ee1ff66783c39b510c8ab3ac3f4a80a3f9 (diff)
downloadbrokentalents-a9a468bd18f56924affe51188a857c5595fc858d.tar.gz
brokentalents-a9a468bd18f56924affe51188a857c5595fc858d.zip
Fix Wrong pick/win rates being calculated in different places
Diffstat (limited to 'src/TopTalentsBox.vue')
-rw-r--r--src/TopTalentsBox.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TopTalentsBox.vue b/src/TopTalentsBox.vue
index 88d5fb7..fdda6c3 100644
--- a/src/TopTalentsBox.vue
+++ b/src/TopTalentsBox.vue
@@ -18,8 +18,8 @@
<span>{{ Math.round(100 * playersPerMatch * props.row.Count / totalPicks) }}%</span>
</b-table-column>
- <b-table-column field="Winner" label="Win Rate" sortable numeric>
- <span>{{ Math.round(100 * props.row.Winner) }}%</span>
+ <b-table-column field="TotalWinner" label="Win Rate" sortable numeric>
+ <span>{{ Math.round(100 * props.row.TotalWinner) }}%</span>
</b-table-column>
</template>
</b-table>