| {club.name} |
diff --git a/frontend/src/components/tables/courts.tsx b/frontend/src/components/tables/courts.tsx
index fff40992..3c148836 100644
--- a/frontend/src/components/tables/courts.tsx
+++ b/frontend/src/components/tables/courts.tsx
@@ -24,7 +24,7 @@ export default function CourtsTable({
const rows = courts
.sort((s1: Court, s2: Court) => sortTableEntries(s1, s2, tableState))
.map((court) => (
- |
| {court.name} |
sortTableEntries(p1, p2, tableState))
.map((player) => (
-
+
|
{player.active ? (
Active
diff --git a/frontend/src/components/tables/teams.tsx b/frontend/src/components/tables/teams.tsx
index e9c08d3a..d9708bc6 100644
--- a/frontend/src/components/tables/teams.tsx
+++ b/frontend/src/components/tables/teams.tsx
@@ -29,7 +29,7 @@ export default function TeamsTable({
const rows = teams
.sort((p1: TeamInterface, p2: TeamInterface) => sortTableEntries(p1, p2, tableState))
.map((team) => (
- |
+
|
{team.active ? Active : Inactive}
|
diff --git a/frontend/src/components/tables/tournaments.tsx b/frontend/src/components/tables/tournaments.tsx
index 8bd9c999..f42e0924 100644
--- a/frontend/src/components/tables/tournaments.tsx
+++ b/frontend/src/components/tables/tournaments.tsx
@@ -31,7 +31,7 @@ export default function TournamentsTable({
const rows = tournaments
.sort((p1: Tournament, p2: Tournament) => sortTableEntries(p1, p2, tableState))
.map((tournament) => (
-
+
|
{tournament.name}
|
diff --git a/frontend/src/components/tables/upcoming_matches.tsx b/frontend/src/components/tables/upcoming_matches.tsx
index 7b1064f7..ce9b8df2 100644
--- a/frontend/src/components/tables/upcoming_matches.tsx
+++ b/frontend/src/components/tables/upcoming_matches.tsx
@@ -5,7 +5,6 @@ import { SWRResponse } from 'swr';
import { BracketDisplaySettings } from '../../interfaces/brackets';
import { MatchCreateBodyInterface, UpcomingMatchInterface } from '../../interfaces/match';
-import { TeamInterface } from '../../interfaces/team';
import { Tournament } from '../../interfaces/tournament';
import { createMatch } from '../../services/match';
import PlayerList from '../info/player_list';
@@ -13,10 +12,6 @@ import { EmptyTableInfo } from '../utils/empty_table_info';
import RequestErrorAlert from '../utils/error_alert';
import TableLayout, { ThNotSortable, ThSortable, getTableState, sortTableEntries } from './table';
-function getPlayerIds(team: TeamInterface) {
- return team.players.map((p) => p.id.toString());
-}
-
export default function UpcomingMatchesTable({
round_id,
tournamentData,
@@ -62,7 +57,7 @@ export default function UpcomingMatchesTable({
sortTableEntries(m1, m2, tableState)
)
.map((upcoming_match: UpcomingMatchInterface) => (
-
+
|
{upcoming_match.is_recommended ? (
} color="blue">
diff --git a/frontend/src/pages/tournaments/[id]/teams.tsx b/frontend/src/pages/tournaments/[id]/teams.tsx
index 533ce473..2860777a 100644
--- a/frontend/src/pages/tournaments/[id]/teams.tsx
+++ b/frontend/src/pages/tournaments/[id]/teams.tsx
@@ -27,7 +27,7 @@ function StageItemSelect({
return (
| |