diff --git a/app/components/match-page/MatchRosterTab.tsx b/app/components/match-page/MatchRosterTab.tsx index 9ee552168..f6fcee086 100644 --- a/app/components/match-page/MatchRosterTab.tsx +++ b/app/components/match-page/MatchRosterTab.tsx @@ -49,6 +49,7 @@ interface RosterTabTeam { /** Sub user ids i.e. those who are not the current active roster */ subbedOut?: Array; tier?: { name: TierName; isPlus: boolean }; + seed?: number | null; } interface MatchRosterTabProps { @@ -263,6 +264,26 @@ function TeamHeader({ const tierText = team.tier ? `${team.tier.name.toLowerCase()}${team.tier.isPlus ? "+" : ""}` : undefined; + const seedText = typeof team.seed === "number" ? `#${team.seed}` : undefined; + + const meta = ( +
+
+ {label} + {tierText ? ( + <> + + {tierText} + + ) : null} + {seedText ? ( + <> + + {seedText} + + ) : null} +
+ ); if (team.team) { return ( @@ -274,16 +295,7 @@ function TeamHeader({ />

{team.team.name}

-
-
- {label} - {tierText ? ( - <> - - {tierText} - - ) : null} -
+ {meta}
); @@ -296,16 +308,7 @@ function TeamHeader({

{team.defaultName}

-
-
- {label} - {tierText ? ( - <> - - {tierText} - - ) : null} -
+ {meta}
); diff --git a/app/features/tournament-match/components/TournamentMatchTabs.tsx b/app/features/tournament-match/components/TournamentMatchTabs.tsx index bf49bfbbf..447fa836b 100644 --- a/app/features/tournament-match/components/TournamentMatchTabs.tsx +++ b/app/features/tournament-match/components/TournamentMatchTabs.tsx @@ -401,6 +401,7 @@ function TournamentMatchRosterTab({ inGameName: m.inGameName, })), subbedOut, + seed: team.seed, }; }