mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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) {
|
if (tank) {
|
||||||
const periodicStats = (
|
const periodicStats = (
|
||||||
await getPeriodicStats(blitzAccount.account_id, Number(period))
|
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) {
|
function sum(summer: (period: Period) => number) {
|
||||||
return periodicStats.reduce(
|
return periodicStats.reduce(
|
||||||
|
|||||||
Reference in new issue
Block a user