mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
51e0ed454c
commit
190aeb3fef
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
||||||
? 'max-w-full'
|
? 'max-w-full'
|
||||||
: 'max-w-5xl'} mx-auto group hover:bg-gray-500/5 transition relative"
|
: 'max-w-5xl'} mx-auto group hover:bg-gray-500/5 transition relative"
|
||||||
>
|
>
|
||||||
{#if message.user_id === $user.id && !edit}
|
{#if (message.user_id === $user.id || $user.role === 'admin') && !edit}
|
||||||
<div class=" absolute invisible group-hover:visible right-1 -top-2 z-30">
|
<div class=" absolute invisible group-hover:visible right-1 -top-2 z-30">
|
||||||
<div
|
<div
|
||||||
class="flex gap-1 rounded-lg bg-white dark:bg-gray-850 shadow-md p-0.5 border border-gray-100 dark:border-gray-800"
|
class="flex gap-1 rounded-lg bg-white dark:bg-gray-850 shadow-md p-0.5 border border-gray-100 dark:border-gray-800"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue