Skip to content

Commit e327ed1

Browse files
committed
fix: bug fix
1 parent 60d134a commit e327ed1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/views/chat/ChatListContainer.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ const _chatList = computed({
7373
7474
const computedChatList = computed<Array<ChatInfo>>(() => {
7575
if (search.value && search.value.length > 0) {
76-
return filter(_chatList.value, (c) => includes(c.brief, search.value))
76+
return filter(_chatList.value, (c) =>
77+
includes(c.brief?.toLowerCase(), search.value?.toLowerCase())
78+
)
7779
} else {
7880
return _chatList.value
7981
}

0 commit comments

Comments
 (0)