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

This commit is contained in:
G30 2026-09-30 12:03:01 -04:00 • committed by GitHub
parent 6e3ad226ba
commit b857eb8267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(() => {