Update frontend/src/app/knowledge/chunks/page.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a425ba62fb
commit
3cb33526db
1 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue