This commit is contained in:
Timothy Jaeryang Baek 2025-12-02 11:43:00 -05:00
parent 34169b3581
commit e5c6b739c2

View file

@ -33,6 +33,7 @@
import Banner from '$lib/components/common/Banner.svelte';
import Markdown from '$lib/components/chat/Messages/Markdown.svelte';
import Spinner from '$lib/components/common/Spinner.svelte';
import ProfilePreview from '$lib/components/channel/Messages/Message/ProfilePreview.svelte';
const i18n = getContext('i18n');
@ -356,11 +357,13 @@
</td>
<td class="px-3 py-1 font-medium text-gray-900 dark:text-white max-w-48">
<div class="flex items-center gap-2">
<img
class="rounded-full w-6 h-6 object-cover mr-0.5 flex-shrink-0"
src={`${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`}
alt="user"
/>
<ProfilePreview {user} side="right" align="center" sideOffset={6}>
<img
class="rounded-full w-6 h-6 object-cover mr-0.5 flex-shrink-0"
src={`${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`}
alt="user"
/>
</ProfilePreview>
<div class="font-medium truncate">{user.name}</div>