diff --git a/src/components/run/ColapsibleRow.tsx b/src/components/run/ColapsibleRow.tsx index eadf0823..d69acb8f 100644 --- a/src/components/run/ColapsibleRow.tsx +++ b/src/components/run/ColapsibleRow.tsx @@ -33,7 +33,7 @@ interface CollapsibleRowProps { handleDelete: () => void; isOpen: boolean; currentLog: string; - abortRunHandler: () => void; + abortRunHandler: (runId: string, robotName: string, browserId: string) => void; runningRecordingName: string; urlRunId: string | null; } @@ -60,7 +60,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun } const handleAbort = () => { - abortRunHandler(); + abortRunHandler(row.runId, row.name, row.browserId); } useEffect(() => { diff --git a/src/components/run/Runs.tsx b/src/components/run/Runs.tsx index 736378f6..4287d006 100644 --- a/src/components/run/Runs.tsx +++ b/src/components/run/Runs.tsx @@ -4,7 +4,7 @@ import { RunsTable } from "./RunsTable"; interface RunsProps { currentInterpretationLog: string; - abortRunHandler: () => void; + abortRunHandler: (runId: string, robotName: string, browserId: string) => void; runId: string; runningRecordingName: string; } diff --git a/src/components/run/RunsTable.tsx b/src/components/run/RunsTable.tsx index 0864c493..2628bdda 100644 --- a/src/components/run/RunsTable.tsx +++ b/src/components/run/RunsTable.tsx @@ -53,6 +53,7 @@ export interface Data { finishedAt: string; runByUserId?: string; runByScheduleId?: string; + browserId: string; runByAPI?: boolean; log: string; runId: string; @@ -65,7 +66,7 @@ export interface Data { interface RunsTableProps { currentInterpretationLog: string; - abortRunHandler: () => void; + abortRunHandler: (runId: string, robotName: string, browserId: string) => void; runId: string; runningRecordingName: string; }