Skip to content

Commit 4eed296

Browse files
authored
Adding column for listener name to show on Analysis history (#1118)
1 parent 3a3cd29 commit 4eed296

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/src/components/listeners/ExtractionJobs.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import { EventListenerJobOut } from "../../openapi/v2";
3838
export interface Data {
3939
status: string;
4040
jobId: string;
41+
listenerName: string;
4142
created: string;
4243
creator: string;
4344
duration: number;
@@ -54,6 +55,10 @@ const headCells = [
5455
id: "jobId",
5556
label: "Job ID",
5657
},
58+
{
59+
id: "extractorName",
60+
label: "Extractor Name",
61+
},
5762
{
5863
id: "created",
5964
label: "Submitted At",
@@ -79,6 +84,7 @@ const headCells = [
7984
const createData = (
8085
status: string,
8186
jobId: string,
87+
listenerName: string,
8288
created: string,
8389
creator: string,
8490
duration: number,
@@ -88,6 +94,7 @@ const createData = (
8894
return {
8995
status,
9096
jobId,
97+
listenerName,
9198
created,
9299
creator,
93100
duration,
@@ -234,6 +241,7 @@ export const ExtractionJobs = (props) => {
234241
createData(
235242
job["status"],
236243
job["id"],
244+
job["listener_id"],
237245
parseDate(job["created"]),
238246
job["creator"]["email"],
239247
`${job["duration"]} sec`,

0 commit comments

Comments
 (0)