mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
34169b3581
commit
e5c6b739c2
1 changed files with 8 additions and 5 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
import Banner from '$lib/components/common/Banner.svelte';
|
import Banner from '$lib/components/common/Banner.svelte';
|
||||||
import Markdown from '$lib/components/chat/Messages/Markdown.svelte';
|
import Markdown from '$lib/components/chat/Messages/Markdown.svelte';
|
||||||
import Spinner from '$lib/components/common/Spinner.svelte';
|
import Spinner from '$lib/components/common/Spinner.svelte';
|
||||||
|
import ProfilePreview from '$lib/components/channel/Messages/Message/ProfilePreview.svelte';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
|
|
||||||
|
|
@ -356,11 +357,13 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="px-3 py-1 font-medium text-gray-900 dark:text-white max-w-48">
|
<td class="px-3 py-1 font-medium text-gray-900 dark:text-white max-w-48">
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<img
|
<ProfilePreview {user} side="right" align="center" sideOffset={6}>
|
||||||
class="rounded-full w-6 h-6 object-cover mr-0.5 flex-shrink-0"
|
<img
|
||||||
src={`${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`}
|
class="rounded-full w-6 h-6 object-cover mr-0.5 flex-shrink-0"
|
||||||
alt="user"
|
src={`${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`}
|
||||||
/>
|
alt="user"
|
||||||
|
/>
|
||||||
|
</ProfilePreview>
|
||||||
|
|
||||||
<div class="font-medium truncate">{user.name}</div>
|
<div class="font-medium truncate">{user.name}</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue