Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tae-jun committed Sep 5, 2023
1 parent c098935 commit 95c15ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<!-- App Shell -->
<AppShell>
<svelte:fragment slot="header">
{#if $page.url.pathname !== '/about'}
{#if !$page.url.pathname.endsWith('/about')}
<!-- App Bar -->
<AppBar
gridColumns="grid-cols-3"
Expand All @@ -47,13 +47,11 @@
</svelte:fragment>

<svelte:fragment slot="default">
{#if $page.url.pathname !== '/about'}
<select class="select w-96 py-0.5" bind:value={selected} on:change={redirect}>
{#each tracks as track}
<option value={track}>{track}</option>
{/each}
</select>
{/if}
</svelte:fragment>

<svelte:fragment slot="trail">
Expand Down

0 comments on commit 95c15ec

Please sign in to comment.