mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: /stats now uses double hyphens like /today for WN8
This commit is contained in:
1 parent
84056d7036
commit
843cc8e861
3 files changed
+13
-3
No files matched your search
@@ -17,10 +17,14 @@ export default function GenericAllStats({
|
||||
['Winrate', `${(100 * (stats.wins / stats.battles)).toFixed(2)}%`],
|
||||
[
|
||||
'WN8',
|
||||
supplementaryStats?.WN8.toFixed(0),
|
||||
supplementaryStats
|
||||
? getWN8Percentile(supplementaryStats.WN8)
|
||||
? supplementaryStats.WN8 === undefined
|
||||
? '--'
|
||||
: supplementaryStats.WN8.toFixed(0)
|
||||
: undefined,
|
||||
supplementaryStats?.WN8 === undefined
|
||||
? undefined
|
||||
: getWN8Percentile(supplementaryStats.WN8),
|
||||
],
|
||||
[
|
||||
'Survival',
|
||||
|
||||
Reference in new issue
Block a user