diff --git a/ui/app/api/mirrors/route.ts b/ui/app/api/mirrors/route.ts index cc7029db63..4bc2df4a2f 100644 --- a/ui/app/api/mirrors/route.ts +++ b/ui/app/api/mirrors/route.ts @@ -14,14 +14,14 @@ export async function GET(_request: Request) { const flows: MirrorsListing[] = mirrors?.map((mirror) => ({ id: mirror.id, - workflow_id: mirror.workflow_id, + workflowId: mirror.workflow_id, name: mirror.name, sourceName: mirror.sourcePeer.name, sourceType: mirror.sourcePeer.type, destinationName: mirror.destinationPeer.name, destinationType: mirror.destinationPeer.type, createdAt: mirror.created_at, - isCdc: !!mirror.query_string, + isCdc: !mirror.query_string, })); return new Response(JSON.stringify(flows)); } diff --git a/ui/app/dto/MirrorsDTO.ts b/ui/app/dto/MirrorsDTO.ts index 8b04049636..4a59ddba62 100644 --- a/ui/app/dto/MirrorsDTO.ts +++ b/ui/app/dto/MirrorsDTO.ts @@ -61,7 +61,7 @@ export type MirrorLogsType = { export type MirrorsListing = { id: number; - workflow_id: string | null; + workflowId: string | null; name: string; sourceName: string; sourceType: number; diff --git a/ui/app/mirrors/tables.tsx b/ui/app/mirrors/tables.tsx index 028774bdcb..d3639876f7 100644 --- a/ui/app/mirrors/tables.tsx +++ b/ui/app/mirrors/tables.tsx @@ -59,7 +59,7 @@ export function CDCFlows({ cdcFlows }: { cdcFlows: MirrorsListing[] }) { {cdcFlows.map((flow) => ( - + ( - +