diff --git a/web/app/components/datasets/documents/detail/completed/child-segment-list.tsx b/web/app/components/datasets/documents/detail/completed/child-segment-list.tsx index 34cbd1c96e..c1f44648fb 100644 --- a/web/app/components/datasets/documents/detail/completed/child-segment-list.tsx +++ b/web/app/components/datasets/documents/detail/completed/child-segment-list.tsx @@ -15,6 +15,8 @@ type IChildSegmentCardProps = { enabled: boolean onDelete?: (segId: string, childChunkId: string) => Promise onClickSlice?: (childChunk: ChildChunkDetail) => void + total?: number + inputValue?: string } const ChildSegmentList: FC = ({ @@ -25,6 +27,8 @@ const ChildSegmentList: FC = ({ enabled, onDelete, onClickSlice, + total, + inputValue, }) => { const parentMode = useDocumentContext(s => s.parentMode) @@ -63,7 +67,7 @@ const ChildSegmentList: FC = ({ : () : null } - {`${childChunks.length} CHILD CHUNKS`} + {`${total} CHILD CHUNKS`} ·