mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
remove duplicate button in user menu to improve tab order
This commit is contained in:
parent
0763d8e9b9
commit
30218a6db0
1 changed files with 2 additions and 6 deletions
|
|
@ -68,7 +68,6 @@
|
||||||
let shiftKey = false;
|
let shiftKey = false;
|
||||||
|
|
||||||
let selectedChatId = null;
|
let selectedChatId = null;
|
||||||
let showDropdown = false;
|
|
||||||
let showPinnedChat = true;
|
let showPinnedChat = true;
|
||||||
|
|
||||||
let showCreateChannel = false;
|
let showCreateChannel = false;
|
||||||
|
|
@ -1035,11 +1034,8 @@
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<button
|
<div
|
||||||
class=" flex items-center rounded-xl py-2.5 px-2.5 w-full hover:bg-gray-100 dark:hover:bg-gray-900 transition"
|
class=" flex items-center rounded-xl py-2.5 px-2.5 w-full hover:bg-gray-100 dark:hover:bg-gray-900 transition"
|
||||||
on:click={() => {
|
|
||||||
showDropdown = !showDropdown;
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div class=" self-center mr-3">
|
<div class=" self-center mr-3">
|
||||||
<img
|
<img
|
||||||
|
|
@ -1049,7 +1045,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class=" self-center font-medium">{$user?.name}</div>
|
<div class=" self-center font-medium">{$user?.name}</div>
|
||||||
</button>
|
</div>
|
||||||
</UserMenu>
|
</UserMenu>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue