From b59e52d3239c47fced3f778b0a1e910882ad575f Mon Sep 17 00:00:00 2001 From: Erik Vroon Date: Thu, 21 Nov 2024 21:08:07 +0100 Subject: [PATCH] Fix present dashboard (#1021) --- frontend/src/components/brackets/round.tsx | 4 ++++ frontend/src/components/tables/standings.tsx | 1 + 2 files changed, 5 insertions(+) diff --git a/frontend/src/components/brackets/round.tsx b/frontend/src/components/brackets/round.tsx index 46f1d23d2..0274915f8 100644 --- a/frontend/src/components/brackets/round.tsx +++ b/frontend/src/components/brackets/round.tsx @@ -70,6 +70,10 @@ export default function Round({ /> ); + if (matches.length === 0 && displaySettings.matchVisibility !== 'all') { + return null; + } + const item = (
sortTableEntries(p1, p2, tableState) ) + .slice(0, 14) .map((team_with_input, index) => ( {index + 1}