mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 20:49:21 +08:00
fix: update channelTemplates to filter for Discord and Lark only (#16065)
### What problem does this PR solve? fix: update channelTemplates to filter for Discord and Lark only - Fixed a display issue with chunks during pipeline parsing. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -81,7 +81,9 @@ export const ArrayContainer = (props: IJsonContainerProps) => {
|
||||
{isArray(content.value) &&
|
||||
content.value?.map((item, index) => {
|
||||
if (
|
||||
item[parserKeyMap[content.key as keyof typeof parserKeyMap]] === ''
|
||||
item[parserKeyMap[content.key as keyof typeof parserKeyMap]] ===
|
||||
'' ||
|
||||
!item[parserKey]
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user