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 ab22aa3123..d1e3d93d52 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 @@ -69,9 +69,9 @@ const ChildSegmentList: FC = ({ }, [isFullDocMode, total, childChunks.length]) return ( -
+
{isFullDocMode ? : null} -
+
{ event.stopPropagation() toggleCollapse() @@ -109,7 +109,7 @@ const ChildSegmentList: FC = ({ : null}
{(isFullDocMode || !collapsed) - ?
+ ?
{isParagraphMode && }
{childChunks.map((childChunk) => { diff --git a/web/app/components/datasets/documents/detail/completed/index.tsx b/web/app/components/datasets/documents/detail/completed/index.tsx index 864e3b9523..3ef87da226 100644 --- a/web/app/components/datasets/documents/detail/completed/index.tsx +++ b/web/app/components/datasets/documents/detail/completed/index.tsx @@ -511,7 +511,7 @@ const Completed: FC = ({ {/* Segment list */} { isFullDocMode - ? <> + ?
onClickCard(segments[0])} @@ -528,7 +528,7 @@ const Completed: FC = ({ total={childChunkListData?.total || 0} inputValue={inputValue} /> - +
: