diff --git a/client/src/pages/kb/detail/components/Import/Chunk.tsx b/client/src/pages/kb/detail/components/Import/Chunk.tsx index 64092ca59..a010e5194 100644 --- a/client/src/pages/kb/detail/components/Import/Chunk.tsx +++ b/client/src/pages/kb/detail/components/Import/Chunk.tsx @@ -202,7 +202,14 @@ const ChunkImport = ({ kbId }: { kbId: string }) => { return ( - + { {!emptyFiles && ( <> - + {files.map((item) => ( { )} - + {!emptyFiles && ( {previewFile ? ( @@ -373,7 +380,7 @@ const ChunkImport = ({ kbId }: { kbId: string }) => { {files.map((file) => file.chunks.map((item, i) => ( { return ( - + { {!emptyFiles && ( <> - + {files.map((item) => ( { )} - + {!emptyFiles && ( diff --git a/client/src/pages/kb/detail/components/Import/QA.tsx b/client/src/pages/kb/detail/components/Import/QA.tsx index dc57f07cb..5cb1fa32c 100644 --- a/client/src/pages/kb/detail/components/Import/QA.tsx +++ b/client/src/pages/kb/detail/components/Import/QA.tsx @@ -193,7 +193,14 @@ const QAImport = ({ kbId }: { kbId: string }) => { return ( - + { {!emptyFiles && ( <> - + {files.map((item) => ( { )} - + {!emptyFiles && ( {previewFile ? (