fix/frontend: tryfix jade champions

This commit is contained in:
2026-08-17 15:34:36 +02:00
parent 59840ffe34
commit ab2eca8e9c
+5 -3
View File
@@ -31,9 +31,11 @@ const champions = computed(() => {
return ( return (
championsData.value championsData.value
.slice(1) .slice(1)
.filter((champion: ChampionSummary) => !champion.name.includes('Doom Bot')) // Filter out Doom Bots and League Classic champions (prefixed by `jade_`)
// Filter out League Classic champions, prefixed by `jade_` .filter(
.filter((champion: ChampionSummary) => !champion.alias.includes('jade_')) (champion: ChampionSummary) =>
!(champion.name.includes('Doom Bot') || champion.alias.startsWith('jade_'))
)
.sort((a: ChampionSummary, b: ChampionSummary) => a.name.localeCompare(b.name)) .sort((a: ChampionSummary, b: ChampionSummary) => a.name.localeCompare(b.name))
) )
}) })