From 1ffbc2bf56a14e2d3e56db2bc915c9d4619a695a Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 25 Feb 2024 11:19:01 +0200 Subject: [PATCH] Fix round title in DE when only one round Closes #1663 --- .../tournament-bracket/components/Bracket/Elimination.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/features/tournament-bracket/components/Bracket/Elimination.tsx b/app/features/tournament-bracket/components/Bracket/Elimination.tsx index ff5486695..54df8c1f3 100644 --- a/app/features/tournament-bracket/components/Bracket/Elimination.tsx +++ b/app/features/tournament-bracket/components/Bracket/Elimination.tsx @@ -104,7 +104,7 @@ function getRounds(props: EliminationBracketSideProps) { return group.id; }); - let showingBracketReset = true; + let showingBracketReset = props.bracket.data.round.length > 1; const rounds = props.bracket.data.round .flatMap((round) => { if (