fix: find read-only shared notes when searching the chat's note picker (#30968)

This commit is contained in:
G30 authored and GitHub committed 2026-09-30 20:03:01 +04:00
1 parent 6e3ad226ba
commit b857eb8267
1 file changed
+1 -1
@@ -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(() => {