diff --git a/client/app/queue/components/NotificationTableColumns.jsx b/client/app/queue/components/NotificationTableColumns.jsx index 592e8c775af..e23aa966832 100644 --- a/client/app/queue/components/NotificationTableColumns.jsx +++ b/client/app/queue/components/NotificationTableColumns.jsx @@ -81,7 +81,7 @@ export const recipientInformationColumn = (notifications) => { tableData: notifications, valueName: 'Recipient Information', // eslint-disable-next-line no-negated-condition - valueFunction: (notification) => notification.status !== 'delivered' ? '—' : notification.recipient_information + valueFunction: (notification) => notification.recipient_information ?? '—' }; }; diff --git a/client/test/data/notifications.js b/client/test/data/notifications.js index b31dd46ccf6..af53219e4c0 100644 --- a/client/test/data/notifications.js +++ b/client/test/data/notifications.js @@ -118,9 +118,9 @@ export const notifications = [ notification_type: 'Email and SMS', event_date: '2022-10-27', event_type: 'Appeal decision mailed (Non-contested claims)', - recipient_email: 'test@caseflow.com', + recipient_email: null, recipient_phone_number: '2468012345', - email_notification_status: 'sent', + email_notification_status: 'temporary-failure', sms_notification_status: 'delivered', notification_content: 'string' }