Skip to content

Commit

Permalink
Don't show a 1 in the standings if no-one has been ranked yet
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Oct 12, 2022
1 parent deb77d8 commit 334c6cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/src/components/broadcast/Standings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ export default {
group.forEach((team, i) => {
team.standings.rank = display;
team.standings.tie_show_number = i === 0;
if (standings.length === 1) {
team.standings.tie_show_number = false;
}
rank++;
});
display = rank;
Expand Down

0 comments on commit 334c6cc

Please sign in to comment.