mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-30 08:55:12 -05:00
fix: find read-only shared notes when searching the chat's note picker (#30968)
This commit is contained in:
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(() => {
|
||||
|
||||
Reference in new issue
Block a user