diff --git a/apps/backoffice-v2/src/common/components/atoms/TextWithNAFallback/TextWithNAFallback.tsx b/apps/backoffice-v2/src/common/components/atoms/TextWithNAFallback/TextWithNAFallback.tsx index 3bba3e2a0d..6a94efd0ce 100644 --- a/apps/backoffice-v2/src/common/components/atoms/TextWithNAFallback/TextWithNAFallback.tsx +++ b/apps/backoffice-v2/src/common/components/atoms/TextWithNAFallback/TextWithNAFallback.tsx @@ -34,5 +34,6 @@ export const TextWithNAFallback: TTextWithNAFallback = forwardRef( ); }, ); + // @ts-ignore TextWithNAFallback.displayName = 'TextWithNAFallback'; diff --git a/apps/backoffice-v2/src/domains/alerts/fetchers.ts b/apps/backoffice-v2/src/domains/alerts/fetchers.ts index 8ae7da4f9f..0c89a9123f 100644 --- a/apps/backoffice-v2/src/domains/alerts/fetchers.ts +++ b/apps/backoffice-v2/src/domains/alerts/fetchers.ts @@ -76,7 +76,11 @@ export const AlertsListSchema = z.array( ObjectWithIdSchema.extend({ dataTimestamp: z.string().datetime(), updatedAt: z.string().datetime(), - subject: ObjectWithIdSchema.extend({ name: z.string() }), + subject: ObjectWithIdSchema.extend({ + name: z.string(), + correlationId: z.string(), + type: z.enum(['business', 'counterparty']), + }), severity: z.enum(AlertSeverities), label: z.string(), alertDetails: z.string(), diff --git a/apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/AlertsTable.tsx b/apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/AlertsTable.tsx index 92a4da77c1..e19a671491 100644 --- a/apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/AlertsTable.tsx +++ b/apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/AlertsTable.tsx @@ -29,7 +29,7 @@ export const AlertsTable: FunctionComponent = ({ data }) => { {headers.map(header => ( {header.column.id === 'select' && ( @@ -38,7 +38,7 @@ export const AlertsTable: FunctionComponent = ({ data }) => { )} {header.column.id !== 'select' && (