Update frontend/src/app/knowledge/chunks/page.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
boneill-ds 2025-09-23 13:24:41 -06:00 committed by GitHub
parent a425ba62fb
commit 3cb33526db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,8 +62,8 @@ function ChunksPageContent() {
if (queryInputText === "") {
setChunksFilteredByQuery(chunks);
} else {
setChunksFilteredByQuery((prevChunks) =>
prevChunks.filter((chunk) =>
setChunksFilteredByQuery(
chunks.filter((chunk) =>
chunk.text.toLowerCase().includes(queryInputText.toLowerCase())
)
);