From dd280082aca61558dcb3f935de8263f1c8dd2846 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 8 Oct 2026 17:23:12 +0400 Subject: [PATCH] refac --- .../chat/Placeholder/ChatList.svelte | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/lib/components/chat/Placeholder/ChatList.svelte b/src/lib/components/chat/Placeholder/ChatList.svelte index 92f099ccd0..2558c9d282 100644 --- a/src/lib/components/chat/Placeholder/ChatList.svelte +++ b/src/lib/components/chat/Placeholder/ChatList.svelte @@ -214,6 +214,21 @@ on:click={() => markChatRead(chat, unread)} >
+ {#if showOwnerInfo && chat.user_id && chat.owner_name} + + { + if (!e.currentTarget.src.endsWith('/static/favicon.png')) { + e.currentTarget.src = `${WEBUI_BASE_URL}/static/favicon.png`; + } + }} + /> + + {/if} + {#if chat.active}
@@ -237,21 +252,6 @@
{dayjs((chat.updated_at ?? chat.created_at ?? 0) * 1000).calendar()}
- - {#if showOwnerInfo && chat.user_id && chat.owner_name} - - { - if (!e.currentTarget.src.endsWith('/static/favicon.png')) { - e.currentTarget.src = `${WEBUI_BASE_URL}/static/favicon.png`; - } - }} - /> - - {/if}
{/each}