diff --git a/lightrag_webui/src/components/documents/PipelineStatusDialog.tsx b/lightrag_webui/src/components/documents/PipelineStatusDialog.tsx index 43687f47..642285df 100644 --- a/lightrag_webui/src/components/documents/PipelineStatusDialog.tsx +++ b/lightrag_webui/src/components/documents/PipelineStatusDialog.tsx @@ -179,9 +179,11 @@ export default function PipelineStatusDialog({ onScroll={handleScroll} className="font-mono text-sm rounded-md bg-zinc-800 text-zinc-100 p-3 overflow-y-auto min-h-[7.5em] max-h-[40vh]" > - {status?.history_messages?.map((msg, idx) => ( -
{msg}
- )) || '-'} + {status?.history_messages?.length ? ( + status.history_messages.map((msg, idx) => ( +
{msg}
+ )) + ) : '-'}