diff --git a/src/lib/components/layout/Sidebar/UserMenu.svelte b/src/lib/components/layout/Sidebar/UserMenu.svelte index e816b43e5..6a363c93d 100644 --- a/src/lib/components/layout/Sidebar/UserMenu.svelte +++ b/src/lib/components/layout/Sidebar/UserMenu.svelte @@ -99,10 +99,10 @@ {#if role === 'admin'} - { + goto('/playground'); show = false; if ($mobile) { @@ -127,12 +127,12 @@
{$i18n.t('Playground')}
-
+ - { + goto('/admin'); show = false; if ($mobile) { @@ -157,7 +157,7 @@
{$i18n.t('Admin Panel')}
-
+ {/if} {#if help}