refac
This commit is contained in:
1 parent
588f129695
commit
f7af03ff26
2 files changed
+5
-5
No files matched your search
@@ -144,7 +144,7 @@
|
|||||||
style="scroll-margin-top: 3rem;"
|
style="scroll-margin-top: 3rem;"
|
||||||
>
|
>
|
||||||
{#if !($settings?.chatBubble ?? true) && !subagentResult}
|
{#if !($settings?.chatBubble ?? true) && !subagentResult}
|
||||||
<div class={`shrink-0 ltr:mr-2 rtl:ml-2 mt-0.5`}>
|
<div class={`shrink-0 ltr:mr-2 rtl:ml-2 hidden @lg:flex mt-0.5`}>
|
||||||
<ProfileImage
|
<ProfileImage
|
||||||
src={user?.id
|
src={user?.id
|
||||||
? `${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`
|
? `${WEBUI_API_BASE_URL}/users/${user.id}/profile/image`
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
import ArrowUturnLeft from '../icons/ArrowUturnLeft.svelte';
|
import ArrowUturnLeft from '../icons/ArrowUturnLeft.svelte';
|
||||||
import ArrowUturnRight from '../icons/ArrowUturnRight.svelte';
|
import ArrowUturnRight from '../icons/ArrowUturnRight.svelte';
|
||||||
import Sidebar from '../icons/Sidebar.svelte';
|
import Sidebar from '../icons/Sidebar.svelte';
|
||||||
import AdjustmentsHorizontalOutline from '../icons/AdjustmentsHorizontalOutline.svelte';
|
import ChatBubbleOval from '../icons/ChatBubbleOval.svelte';
|
||||||
|
|
||||||
export let id: null | string = null;
|
export let id: null | string = null;
|
||||||
|
|
||||||
@@ -1002,14 +1002,14 @@ ${content}
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<Tooltip content={$i18n.t('Controls')} placement="top">
|
<Tooltip content={$i18n.t('Chat')} placement="top">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="p-1 bg-transparent hover:bg-white/5 transition rounded-lg"
|
class="p-1 bg-transparent hover:bg-white/5 transition rounded-lg"
|
||||||
aria-label={$i18n.t('Controls')}
|
aria-label={$i18n.t('Chat')}
|
||||||
on:click={openNoteChat}
|
on:click={openNoteChat}
|
||||||
>
|
>
|
||||||
<AdjustmentsHorizontalOutline className="size-4" />
|
<ChatBubbleOval className="size-4" strokeWidth="1.8" />
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user