diff --git a/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx b/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx index 54f8e1972f..662d9e4b02 100644 --- a/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx +++ b/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx @@ -122,27 +122,31 @@ export function IngestionToastStack() { )} - {allDone ? ( +
+ {/* While indexing: "Cancel" stops the batch and resets the + index; the "X" only dismisses the toast and lets indexing + continue in the background. When done, just the dismiss X. */} + {!allDone && ( + + )} - ) : ( - - )} +