Skip to content

Commit

Permalink
hide standings rank column
Browse files Browse the repository at this point in the history
  • Loading branch information
craigkai committed Jan 19, 2024
1 parent 281fcf1 commit f71d205
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/tournament/Standings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Scoring based on {scoring}

<Table>
<TableHead>
<TableHeadCell>Rank</TableHeadCell>
<!-- <TableHeadCell>Rank</TableHeadCell> -->
<TableHeadCell>Team</TableHeadCell>
<TableHeadCell>Score</TableHeadCell>
</TableHead>
Expand All @@ -63,7 +63,7 @@ Scoring based on {scoring}
{@const isDefaultTeam =
defaultTeam && defaultTeam === orderedTeamScores[i] ? 'bg-green-200' : ''}
<TableBodyRow class={isDefaultTeam}>
<TableBodyCell>{i}</TableBodyCell>
<!-- <TableBodyCell>{i}</TableBodyCell> -->
<TableBodyCell>{orderedTeamScores[i]}</TableBodyCell>
<TableBodyCell>{teamScores[orderedTeamScores[i]]}</TableBodyCell>
</TableBodyRow>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/protected-routes/events/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
</TabItem>

<TabItem title="matches">
<Matches bind:tournament bind:matches {teams} />
<Matches bind:tournament bind:matches {teams} defaultTeam="" />
</TabItem>

<TabItem title="standings">
<Standings event={tournament} {matches} {teams} defaultTeam={''} />
<Standings event={tournament} {matches} {teams} defaultTeam="" />
</TabItem>
</Tabs>
{/if}
Expand Down

1 comment on commit f71d205

@vercel
Copy link

@vercel vercel bot commented on f71d205 Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

volleyman – ./

volleyman-craigkai.vercel.app
volleyman-git-main-craigkai.vercel.app
volleyman.vercel.app

Please sign in to comment.