From 558ff4d91acbe6ba92bf11123356f986385e6bd7 Mon Sep 17 00:00:00 2001
From: Kalle <38327916+Sendouc@users.noreply.github.com>
Date: Wed, 27 Mar 2024 23:01:18 +0200
Subject: [PATCH] Fix rosters playing status not showing with rosters with size
of 4<
---
.../tournament-bracket/components/TeamRosterInputs.tsx | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/app/features/tournament-bracket/components/TeamRosterInputs.tsx b/app/features/tournament-bracket/components/TeamRosterInputs.tsx
index 44eec9dc9..b425743a9 100644
--- a/app/features/tournament-bracket/components/TeamRosterInputs.tsx
+++ b/app/features/tournament-bracket/components/TeamRosterInputs.tsx
@@ -61,6 +61,7 @@ export function TeamRosterInputs({
return (
);
})}
@@ -89,6 +90,7 @@ function _TeamRoster({
points,
winnerRadioChecked,
checkedPlayers,
+ result,
}: {
team: TournamentDataTeam;
presentational: boolean;
@@ -101,6 +103,7 @@ function _TeamRoster({
points?: number;
winnerRadioChecked: boolean;
checkedPlayers: string;
+ result?: Result;
}) {
const tournament = useTournament();
@@ -152,7 +155,9 @@ function _TeamRoster({
{
if (!setCheckedPlayers) return;