diff --git a/public/app/features/alerting/unified/components/receivers/ReceiversTable.tsx b/public/app/features/alerting/unified/components/receivers/ReceiversTable.tsx index 056e3996e50..cd6cb19e950 100644 --- a/public/app/features/alerting/unified/components/receivers/ReceiversTable.tsx +++ b/public/app/features/alerting/unified/components/receivers/ReceiversTable.tsx @@ -78,25 +78,27 @@ function ViewAction({ permissions, alertManagerName, receiverName }: ActionProps } interface ReceiverErrorProps { errorCount: number; + errorDetail?: string; } -function ReceiverError({ errorCount }: ReceiverErrorProps) { +function ReceiverError({ errorCount, errorDetail }: ReceiverErrorProps) { return ( ); } interface ReceiverHealthProps { errorsByReceiver: number; + errorDetail?: string; } -function ReceiverHealth({ errorsByReceiver }: ReceiverHealthProps) { +function ReceiverHealth({ errorsByReceiver, errorDetail }: ReceiverHealthProps) { return errorsByReceiver > 0 ? ( - + ) : ( ); @@ -157,7 +159,7 @@ function NotifiersTable({ notifiersState }: NotifiersTableProps) { id: 'health', label: 'Health', renderCell: ({ data: { lastError } }) => { - return ; + return ; }, size: 0.5, },