mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: find read-only shared notes when searching the chat's note picker (#30968)
This commit is contained in:
parent
6e3ad226ba
commit
b857eb8267
1 changed files with 1 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue