|
|
|
@ -223,8 +223,8 @@ |
|
|
|
matches.forEach(match => { |
|
|
|
matches.forEach(match => { |
|
|
|
if (match && match.court) { |
|
|
|
if (match && match.court) { |
|
|
|
const courtNum = this.getCourtNumber(match.court_index); |
|
|
|
const courtNum = this.getCourtNumber(match.court_index); |
|
|
|
if (courtNum > 0 && courtNum <= this.courtCount) { |
|
|
|
if (courtNum >= 0 && courtNum < this.courtCount) { |
|
|
|
courtMatches[courtNum - 1] = match; |
|
|
|
courtMatches[courtNum] = match; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|