Update tankNames.ts

This commit is contained in:
TrèsAbhi authored and GitHub committed 2025-03-14 12:14:55 -05:00
1 parent c36419f5b6
commit 30ca5c053a
1 file changed
+3 -1
+3 -1
View File
@@ -26,8 +26,10 @@ export async function fetchTankNames() {
searchableName: tank.name_full ?? tank.name,
searchableNameDeburr,
camouflages: tank.camouflages
?.map((id) => camouflageDefinitions.camouflages[id]?.name)
?.map((id) => SUPPORTED_LOCALES.map((locale) => camouflageDefinitions.camouflages[id]?.name.locales[locale]))
.flat()
.filter(Boolean)
.map(deburr)
.join(' '),
treeType: tank.type,
};