mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -73,7 +73,9 @@ const _chatList = computed({
|
||||
|
||||
const computedChatList = computed<Array<ChatInfo>>(() => {
|
||||
if (search.value && search.value.length > 0) {
|
||||
return filter(_chatList.value, (c) => includes(c.brief, search.value))
|
||||
return filter(_chatList.value, (c) =>
|
||||
includes(c.brief?.toLowerCase(), search.value?.toLowerCase())
|
||||
)
|
||||
} else {
|
||||
return _chatList.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user