From 8db5f551b5084ff4d4e03d4b904e487364d1fb98 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Mon, 24 Feb 2025 21:32:30 +0200 Subject: [PATCH] Best of 9 option for tournaments --- .../components/BracketMapListDialog.tsx | 11 ++++++----- .../tournament-bracket-schemas.server.ts | 2 +- app/features/tournament/tournament-constants.ts | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/features/tournament-bracket/components/BracketMapListDialog.tsx b/app/features/tournament-bracket/components/BracketMapListDialog.tsx index bd867278e..38bedfc98 100644 --- a/app/features/tournament-bracket/components/BracketMapListDialog.tsx +++ b/app/features/tournament-bracket/components/BracketMapListDialog.tsx @@ -678,10 +678,11 @@ function GlobalMapCountInput({ onChange={(e) => onSetCount(Number(e.target.value))} defaultValue={defaultValue} > - - - - + {TOURNAMENT.AVAILABLE_BEST_OF.map((count) => ( + + ))} ); @@ -797,7 +798,7 @@ function RoundMapList({ {editing && includeRoundSpecificSelections ? (
- {[1, 3, 5, 7].map((count) => ( + {TOURNAMENT.AVAILABLE_BEST_OF.map((count) => (