fix: removed ratings battle count in tank stats

This commit is contained in:
TresAbhi committed 2023-05-14 17:15:54 +00:00
1 parent 692f4d2b80
commit 9df4d52bb5
1 file changed
+3 -1
+3 -1
View File
@@ -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(