diff --git a/web/app/components/datasets/documents/detail/completed/index.tsx b/web/app/components/datasets/documents/detail/completed/index.tsx index 83f7e03248..3cc1632271 100644 --- a/web/app/components/datasets/documents/detail/completed/index.tsx +++ b/web/app/components/datasets/documents/detail/completed/index.tsx @@ -352,8 +352,7 @@ const Completed: FC = ({ params.attachment_ids = attachments.map(item => item.uploadedId!) } - if (summary) - params.summary = summary + params.summary = summary ?? '' if (needRegenerate) params.regenerate_child_chunks = needRegenerate