diff --git a/web/app/components/datasets/create/website/firecrawl/index.tsx b/web/app/components/datasets/create/website/firecrawl/index.tsx index d542769e2d..8d207a0386 100644 --- a/web/app/components/datasets/create/website/firecrawl/index.tsx +++ b/web/app/components/datasets/create/website/firecrawl/index.tsx @@ -112,6 +112,10 @@ const FireCrawl: FC = ({ }, } } + res.data = res.data.map((item: any) => ({ + ...item, + content: item.markdown, + })) // update the progress setCrawlResult({ ...res, @@ -161,6 +165,10 @@ const FireCrawl: FC = ({ setCrawlErrorMessage(errorMessage || t(`${I18N_PREFIX}.unknownError`)) } else { + data.data = data.data.map((item: any) => ({ + ...item, + content: item.markdown, + })) setCrawlResult(data) onCheckedCrawlResultChange(data.data || []) // default select the crawl result setCrawlErrorMessage('')