diff --git a/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte b/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte index 47cd0fc94..f05c75b22 100644 --- a/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte +++ b/platforms/pictique/client/src/lib/fragments/BottomNav/BottomNav.svelte @@ -20,7 +20,6 @@ let ownerId: string | null = $derived(getAuthId()); let previousTab = $state('home'); let _activeTab = $derived(page.url.pathname); - let fullPath = $derived(page.url.pathname); let imageInput: HTMLInputElement; let images: FileList | null = $state(null); @@ -147,7 +146,7 @@ onclick={() => handleNavClick('profile')} > + import { goto } from '$app/navigation'; + import { resolve } from '$app/paths'; import { page } from '$app/state'; + import { Settings } from '$lib/icons'; import { cn } from '$lib/utils'; import { ArrowLeft01Icon, ArrowLeft02Icon } from '@hugeicons/core-free-icons'; import { HugeiconsIcon } from '@hugeicons/svelte'; + import { onDestroy } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; import { heading as headingStore } from '../../../routes/store'; - import { onDestroy } from 'svelte'; const { ...restProps }: HTMLAttributes = $props(); @@ -100,7 +103,7 @@ {/if} @@ -110,6 +113,19 @@ {/if} + {#if route.includes('/profile') && !route.includes('/settings')} + + {/if}