diff --git a/web/app/components/datasets/hit-testing/components/result-item.tsx b/web/app/components/datasets/hit-testing/components/result-item.tsx index 16bc40f67c..4518bfa876 100644 --- a/web/app/components/datasets/hit-testing/components/result-item.tsx +++ b/web/app/components/datasets/hit-testing/components/result-item.tsx @@ -46,10 +46,16 @@ const ResultItem: FC = ({ {/* Main */}
-
{content}
+
{content}
{isParentChildRetrieval && (
-
+
{ + e.stopPropagation() + toggleFold() + }} + >
{t(`${i18nPrefix}.hitChunks`, { num: child_chunks.length })}
diff --git a/web/app/components/datasets/hit-testing/textarea.tsx b/web/app/components/datasets/hit-testing/textarea.tsx index 43366754fe..482ce895b4 100644 --- a/web/app/components/datasets/hit-testing/textarea.tsx +++ b/web/app/components/datasets/hit-testing/textarea.tsx @@ -108,7 +108,7 @@ const TextAreaWithButton = ({ return ( <>
-
+
{t('datasetHitTesting.input.title')} @@ -145,11 +145,11 @@ const TextAreaWithButton = ({ /> ) } -
+