Skip to content

Commit

Permalink
disable bracket for now
Browse files Browse the repository at this point in the history
  • Loading branch information
craigkai committed Jul 30, 2024
1 parent e7f96e7 commit 7273d2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/lib/helper.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export function closeModal() {
});
}

export async function updateMatch(match: MatchRow | undefined, matches: Matches): Promise<void> {
export async function updateMatch(
match: MatchRow | undefined,
matches: Pool | Brackets
): Promise<void> {
if (match) {
try {
match.team1_score = Number(match.team1_score);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/events/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
{/if}
<Tabs.Trigger disabled={isCreate} value="matches">Matches</Tabs.Trigger>
<Tabs.Trigger disabled={isCreate} value="standings">Standings</Tabs.Trigger>
<Tabs.Trigger disabled={isCreate} value="bracket">Bracket</Tabs.Trigger>
<Tabs.Trigger disabled={true} value="bracket">Bracket</Tabs.Trigger>
</Tabs.List>

{#if !readOnly}
Expand Down

0 comments on commit 7273d2d

Please sign in to comment.