Skip to content

Commit

Permalink
Fix present dashboard (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
evroon authored Nov 21, 2024
1 parent 1fc9a1c commit b59e52d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/brackets/round.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ export default function Round({
/>
);

if (matches.length === 0 && displaySettings.matchVisibility !== 'all') {
return null;
}

const item = (
<div
style={{
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/tables/standings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function StandingsTableForStageItem({
.sort((p1: StageItemInputFinal, p2: StageItemInputFinal) =>
sortTableEntries(p1, p2, tableState)
)
.slice(0, 14)
.map((team_with_input, index) => (
<Table.Tr key={team_with_input.id}>
<Table.Td style={{ width: '2rem' }}>{index + 1}</Table.Td>
Expand Down

0 comments on commit b59e52d

Please sign in to comment.