mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-10 11:16:10 +01:00
feat: recently veiwed tanks
This commit is contained in:
1 parent
ea013c4df8
commit
387a67266f
9 files changed
+80
-14
No files matched your search
@@ -34,7 +34,7 @@ const testTanks = tanks
|
||||
const mostPlayedTanks = tankAverages
|
||||
.sort((a, b) => b.samples.d_1 - a.samples.d_1)
|
||||
.map(({ id }) => tankDefinitions.tanks[id])
|
||||
.filter(Boolean);
|
||||
.filter((tank) => tank !== undefined && !tank.testing);
|
||||
const popularTanks = [...testTanks, ...mostPlayedTanks].slice(0, 8);
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user