diff --git a/src/lib/components/layout/Sidebar/UserMenu.svelte b/src/lib/components/layout/Sidebar/UserMenu.svelte
index 7b1cbd58da..2ba0b2f14e 100644
--- a/src/lib/components/layout/Sidebar/UserMenu.svelte
+++ b/src/lib/components/layout/Sidebar/UserMenu.svelte
@@ -71,7 +71,7 @@
transition={(e) => fade(e, { duration: 100 })}
>
{
await showSettings.set(true);
show = false;
@@ -88,7 +88,7 @@
{
dispatch('show', 'archived-chat');
show = false;
@@ -105,70 +105,72 @@
{#if role === 'admin'}
- {
show = false;
if ($mobile) {
showSidebar.set(false);
}
- goto('/playground');
}}
>
{$i18n.t('Playground')}
-
+
- {
show = false;
if ($mobile) {
showSidebar.set(false);
}
- goto('/admin');
}}
>
{$i18n.t('Admin Panel')}
-
+
{/if}
{#if help}
- {
- window.open('https://docs.openwebui.com', '_blank');
show = false;
}}
>
{$i18n.t('Documentation')}
-
+
-
+
{
showShortcuts.set(!$showShortcuts);
@@ -182,7 +184,7 @@
- {
const res = await userSignOut();
@@ -197,7 +199,7 @@
{$i18n.t('Sign Out')}
-
+
{#if usage}
{#if usage?.user_ids?.length > 0}