diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 6d7b33bd..8a0a27da 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -382,11 +382,6 @@ on:click={() => { showDropdown = !showDropdown; }} - on:focusout={() => { - setTimeout(() => { - showDropdown = false; - }, 150); - }} >
{ goto('/admin'); + showDropdown = false; }} >
@@ -470,6 +466,7 @@ on:click={() => { localStorage.removeItem('token'); location.href = '/auth'; + showDropdown = false; }} >