diff --git a/src/lib/components/chat/Navbar.svelte b/src/lib/components/chat/Navbar.svelte index 6fcb7a6821..2b5a4279d1 100644 --- a/src/lib/components/chat/Navbar.svelte +++ b/src/lib/components/chat/Navbar.svelte @@ -173,19 +173,19 @@ } }} > - + {$i18n.t('User menu')} - + {/if} diff --git a/src/lib/components/icons/ArchiveBox.svelte b/src/lib/components/icons/ArchiveBox.svelte index d4f6e201ab..ef82cdba16 100644 --- a/src/lib/components/icons/ArchiveBox.svelte +++ b/src/lib/components/icons/ArchiveBox.svelte @@ -9,6 +9,7 @@ viewBox="0 0 24 24" stroke-width={strokeWidth} stroke="currentColor" + aria-hidden="true" class={className} > fade(e, { duration: 100 })} > - { await showSettings.set(true); @@ -87,9 +87,9 @@ {$i18n.t('Settings')} - + - { dispatch('show', 'archived-chat'); @@ -104,44 +104,40 @@ {$i18n.t('Archived Chats')} - + {#if role === 'admin'} - { show = false; if ($mobile) { showSidebar.set(false); } + goto('/playground'); }} - rel="noopener noreferrer" - draggable="false" > {$i18n.t('Playground')} - + - { show = false; if ($mobile) { showSidebar.set(false); } + goto('/admin'); }} - rel="noopener noreferrer" - draggable="false" > {$i18n.t('Admin Panel')} - + {/if} {#if help} @@ -188,7 +184,7 @@ - { const res = await userSignOut(); @@ -203,7 +199,7 @@ {$i18n.t('Sign Out')} - + {#if usage} {#if usage?.user_ids?.length > 0}