From 334c6ccb1b50b4e24b71d2d91c6464025688674f Mon Sep 17 00:00:00 2001 From: Solomon Cammack Date: Wed, 12 Oct 2022 05:31:58 +0100 Subject: [PATCH] Don't show a 1 in the standings if no-one has been ranked yet --- website/src/components/broadcast/Standings.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/src/components/broadcast/Standings.vue b/website/src/components/broadcast/Standings.vue index ca54c22d..499cf986 100644 --- a/website/src/components/broadcast/Standings.vue +++ b/website/src/components/broadcast/Standings.vue @@ -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;