mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: nation filters
This commit is contained in:
1 parent
7bde92c7f1
commit
cadc84b32f
5 files changed
+122
-32
No files matched your search
@@ -98,3 +98,13 @@ export const TIER_ROMAN_NUMERALS: Record<Tier, string> = {
|
||||
9: 'IX',
|
||||
10: 'X',
|
||||
};
|
||||
|
||||
export const NATIONS = tanks.then((tanks) => {
|
||||
const nationsObject: Record<string, true> = {};
|
||||
|
||||
tanks.forEach(({ nation }) => {
|
||||
nationsObject[nation] = true;
|
||||
});
|
||||
|
||||
return Object.keys(nationsObject);
|
||||
});
|
||||
Reference in new issue
Block a user