Commit c63eddcc authored by xiaoye's avatar xiaoye

Update post.ts

parent 1a4c30bf
Pipeline #37790 passed with stages
in 1 minute and 10 seconds
...@@ -95,11 +95,6 @@ class TabulatorAPI { ...@@ -95,11 +95,6 @@ class TabulatorAPI {
response.data.data.matches.forEach((i : MatchObject) => { response.data.data.matches.forEach((i : MatchObject) => {
matches.push(new Match(i)); matches.push(new Match(i));
}); });
if (response.data.data.status != 'Ready')
participants.sort((a, b) => {
const ct = b.score.score - a.score.score;
return ct != 0 ? ct : b.score.tieBreaker - a.score.tieBreaker;
});
return { return {
tournament : new Tournament(response.data.data), tournament : new Tournament(response.data.data),
participant : { participant : {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment