Remove useless logging
This commit is contained in:
@@ -19,7 +19,6 @@ const lanesMap = new Map()
|
||||
for(let champion of championsLanes.value) {
|
||||
lanesMap.set(champion.alias, champion.lanes)
|
||||
}
|
||||
console.log(lanesMap)
|
||||
|
||||
const filteredChampions = ref(champions)
|
||||
|
||||
@@ -53,7 +52,7 @@ function onLaneFilterChange(newValue: number) {
|
||||
filteredChampions.value = champions.filter((champion) => {
|
||||
const lanes : Array<any> = lanesMap.get(champion.alias.toLowerCase())
|
||||
if(lanes == undefined) return false;
|
||||
|
||||
|
||||
return lanes.reduce((acc : boolean, current : {data:string, count:number}) =>
|
||||
acc || (current.data == filterToLane(newValue)), false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user