From 8c0ff58a6abe5ade687fc496f768abe7d9656f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Fri, 21 Jun 2024 04:04:26 +0000 Subject: [PATCH] yet another ! typo --- ui/app/api/mirrors/route.ts | 4 ++-- ui/app/dto/MirrorsDTO.ts | 2 +- ui/app/mirrors/tables.tsx | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) 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) => ( - + ( - +