diff --git a/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte b/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte index 2c19b49f18..8221b5e4ef 100644 --- a/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte @@ -61,7 +61,7 @@ const getItemsPage = async (activeRequestId = requestId) => { itemsLoading = true; const res = query.trim() - ? await searchNotes(localStorage.token, query.trim(), null, null, null, page).catch( + ? await searchNotes(localStorage.token, query.trim(), null, 'read', null, page).catch( () => null ) : await getNoteList(localStorage.token, page).catch(() => {