Skip to content

Commit

Permalink
fixed a bug on the match page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Bauroth committed Feb 15, 2024
1 parent 0322edd commit f0eb39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/matches.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let matc = matche.map(async (doc) => {
})
let matches = await Promise.all(matc)
for (let i=matches.length-1; i>=0; i--) {
if(matches[i].matchNumber === -1 || matches[i].matchNumber === null || (matches[i].event != currentEvent.value)) matches.splice(i, 1)
if(matches[i].matchNumber === -1 || matches[i].matchNumber === null || (matches[i].event != currentEvent)) matches.splice(i, 1)
}
const headers = [
Expand Down

0 comments on commit f0eb39c

Please sign in to comment.