Simplify passing in of file IDs for filtering (#4791)

* Simplify passing in of file IDs for filtering

* Address RK comments
This commit is contained in:
Chris Weaver
2025-05-29 22:08:21 -07:00
committed by trial-danswer
parent 5031096a2b
commit 6ad423efce
6 changed files with 137 additions and 117 deletions

View File

@@ -1451,9 +1451,7 @@ export function ChatPage({
filterManager.selectedSources,
filterManager.selectedDocumentSets,
filterManager.timeRange,
filterManager.selectedTags,
selectedFiles.map((file) => file.id)
// selectedFolders.map((folder) => folder.id)
filterManager.selectedTags
),
selectedDocumentIds: selectedDocuments
.filter(