fix: chat filter

This commit is contained in:
Jing Hua 2023-04-02 00:04:21 +08:00
parent 12e82070ab
commit 4a9efaf7da

View file

@ -44,7 +44,7 @@ const ChatHistoryList = () => {
if ( if (
!chat.title.toLocaleLowerCase().includes(filterLowerCase) && !chat.title.toLocaleLowerCase().includes(filterLowerCase) &&
!chat.folder?.toLowerCase().includes(filterLowerCase) && !chat.folder?.toLowerCase().includes(filterLowerCase) &&
index !== currentChatIndex index !== useStore.getState().currentChatIndex
) )
return; return;