mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
feat: disable admin chatlist by default
This commit is contained in:
parent
dc412d21f7
commit
77cc3b5470
@ -267,6 +267,7 @@
|
|||||||
|
|
||||||
<td class="px-3 py-2 text-right">
|
<td class="px-3 py-2 text-right">
|
||||||
<div class="flex justify-end w-full">
|
<div class="flex justify-end w-full">
|
||||||
|
{#if user.role !== 'admin'}
|
||||||
<Tooltip content="Chats">
|
<Tooltip content="Chats">
|
||||||
<button
|
<button
|
||||||
class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
|
class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
|
||||||
@ -278,6 +279,7 @@
|
|||||||
<ChatBubbles />
|
<ChatBubbles />
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<Tooltip content={$i18n.t('Edit User')}>
|
<Tooltip content={$i18n.t('Edit User')}>
|
||||||
<button
|
<button
|
||||||
|
Loading…
Reference in New Issue
Block a user