Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
339c9125
Commit
339c9125
authored
Dec 27, 2023
by
Timothy J. Baek
Browse files
fix: sidebar button click register issue
parent
657318ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+2
-5
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
339c9125
...
@@ -382,11 +382,6 @@
...
@@ -382,11 +382,6 @@
on:click={() => {
on:click={() => {
showDropdown = !showDropdown;
showDropdown = !showDropdown;
}}
}}
on:focusout={() => {
setTimeout(() => {
showDropdown = false;
}, 150);
}}
>
>
<div class=" self-center mr-3">
<div class=" self-center mr-3">
<img
<img
...
@@ -409,6 +404,7 @@
...
@@ -409,6 +404,7 @@
class="flex py-2.5 px-3.5 w-full hover:bg-gray-800 transition"
class="flex py-2.5 px-3.5 w-full hover:bg-gray-800 transition"
on:click={() => {
on:click={() => {
goto('/admin');
goto('/admin');
showDropdown = false;
}}
}}
>
>
<div class=" self-center mr-3">
<div class=" self-center mr-3">
...
@@ -470,6 +466,7 @@
...
@@ -470,6 +466,7 @@
on:click={() => {
on:click={() => {
localStorage.removeItem('token');
localStorage.removeItem('token');
location.href = '/auth';
location.href = '/auth';
showDropdown = false;
}}
}}
>
>
<div class=" self-center mr-3">
<div class=" self-center mr-3">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment