mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: removed ratings battle count in tank stats
This commit is contained in:
1 parent
692f4d2b80
commit
9df4d52bb5
1 file changed
+3
-1
@@ -55,7 +55,9 @@ export default {
|
||||
if (tank) {
|
||||
const periodicStats = (
|
||||
await getPeriodicStats(blitzAccount.account_id, Number(period))
|
||||
).filter((stats) => stats.tank_id === tank.tank_id);
|
||||
)
|
||||
.filter((stats) => stats.tank_id === tank.tank_id)
|
||||
.filter((stats) => !stats.isRating);
|
||||
|
||||
function sum(summer: (period: Period) => number) {
|
||||
return periodicStats.reduce(
|
||||
|
||||
Reference in new issue
Block a user