Skip to content

Commit b7eb3da

Browse files
authored
Fix model for show messages to ingest (#806)
1 parent 9a20c23 commit b7eb3da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/app/models/ingestionStatus.model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
export type IngestionStatusModel = {
1717
jobName: string;
1818
jobType: string;
19-
topic?: TopicModel;
19+
topicStatus?: TopicModel;
2020
};
2121

2222
export class IngestionStatusModelFactory {
23-
static create(jobName: string, jobType: string, topic?: TopicModel): IngestionStatusModel {
24-
return { jobName: jobName, jobType: jobType, topic: topic };
23+
static create(jobName: string, jobType: string, topicStatus?: TopicModel): IngestionStatusModel {
24+
return { jobName: jobName, jobType: jobType, topicStatus: topicStatus };
2525
}
2626

2727
static fromIngestionStatusResponseModel(ingestionStatusResponse: IngestionStatusResponseModel): IngestionStatusModel {

0 commit comments

Comments
 (0)