mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
refac
This commit is contained in:
parent
d14fddf254
commit
d94d36ad72
1 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
import ChevronRight from '$lib/components/icons/ChevronRight.svelte';
|
||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||
import Spinner from '$lib/components/common/Spinner.svelte';
|
||||
import { chatId, socket, user } from '$lib/stores';
|
||||
import { chatId, socket } from '$lib/stores';
|
||||
|
||||
dayjs.extend(localizedFormat);
|
||||
|
||||
|
|
@ -175,7 +175,6 @@
|
|||
{#each chatList as chat, idx (chat.id)}
|
||||
{@const unread =
|
||||
chat.id !== $chatId &&
|
||||
chat.user_id === $user?.id &&
|
||||
!chat.active &&
|
||||
(chat.last_read_at == null ||
|
||||
(chat.updated_at != null && chat.updated_at > chat.last_read_at))}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue