mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-01 17:45:28 +08:00
Fix: Optimize metadata filters, add Ingestion pipeline options to agent templates page #9869 (#10572)
### What problem does this PR solve? Fix: Optimize metadata filters, add Ingestion pipeline options to agent templates page ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -91,9 +91,9 @@ export default function AgentTemplates() {
|
||||
return templateList;
|
||||
}
|
||||
return templateList.filter(
|
||||
(item, index) =>
|
||||
(item) =>
|
||||
item.canvas_type?.toLocaleLowerCase() ===
|
||||
selectMenuItem?.toLocaleLowerCase() || index === 0,
|
||||
selectMenuItem?.toLocaleLowerCase(),
|
||||
);
|
||||
}, [selectMenuItem, templateList]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user