From 7958726e1bf9a7dad0e0427df88bdb99c37cbbd4 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Wed, 16 Oct 2024 21:25:00 -0500 Subject: [PATCH] Fixes bug related to draft campaigns in list view --- apps/ui/src/views/campaign/Campaigns.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/src/views/campaign/Campaigns.tsx b/apps/ui/src/views/campaign/Campaigns.tsx index a6db5fea..43bd2c02 100644 --- a/apps/ui/src/views/campaign/Campaigns.tsx +++ b/apps/ui/src/views/campaign/Campaigns.tsx @@ -140,7 +140,7 @@ export default function Campaigns() { { key: 'engagement', title: t('engagement'), - cell: ({ item: { channel, delivery } }) => delivery.opens > 0 + cell: ({ item: { channel, delivery } }) => delivery?.opens > 0 ? (