Skip to content

Commit

Permalink
Merge pull request #114 from IUrreta/fix-WTS-dnf
Browse files Browse the repository at this point in the history
fixed pourchaire bug
  • Loading branch information
IUrreta authored Sep 29, 2023
2 parents ef70880 + 6d7ced6 commit a042c0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions front/js/head2head.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,23 @@ function load_h2h_graph(data) {
let index1 = d1_races.indexOf(elem[0])
let index2 = d2_races.indexOf(elem[0])
if(index1 !== -1){
d1_res.push(d1_provisonal[index1])
if(d1_res[index1] === -1){
d1_res[index1] = NaN
if(d1_provisonal[index1] === -1){
d1_res.push(NaN)
}
else{
d1_res.push(d1_provisonal[index1])
}

}
else{
d1_res.push(NaN)
}
if(index2 !== -1){
d2_res.push(d2_provisonal[index2])
if(d2_res[index2] === -1){
d2_res[index2] = NaN
if(d2_provisonal[index2] === -1){
d2_res.push(NaN)
}
else{
d2_res.push(d2_provisonal[index2])
}
}
else{
Expand Down
2 changes: 1 addition & 1 deletion launcher/version.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.0
1.6.1

0 comments on commit a042c0d

Please sign in to comment.