Skip to content

Commit

Permalink
Add document count in process action details (#5733)
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd authored Jun 19, 2024
1 parent c76d506 commit 3fcc8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/components/actions/process/ProcessActionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function makeQueryDescription(action: ProcessActionType) {
: `${relativeTimeFrame.unit}`)
: "all time";

return `Extracted from ${timeFrameAsString}.`;
return `Extracted from ${action.outputs?.total_documents} documents over ${timeFrameAsString}.`;
}

function ProcessActionOutputDetails({ action }: { action: ProcessActionType }) {
Expand Down

0 comments on commit 3fcc8f1

Please sign in to comment.