Skip to content

Commit

Permalink
make all admin components tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
craigkai committed Mar 10, 2024
1 parent 659661d commit df9b3f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/routes/protected-routes/events/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@
<Spinner />
</div>
{:then}
<Settings {event_id} data={form} />

<div class="m-2">
{#if data?.event_id !== 'create' && tournament}
<Tabs>
<TabItem open title="teams">
<TabItem open title="Settings">
<Settings {event_id} data={form} />
</TabItem>

<TabItem title="teams">
<Teams bind:teams />
</TabItem>

Expand Down

0 comments on commit df9b3f2

Please sign in to comment.