From 616e76ade1ab9cbfe8c75e1bbe6e6ff78521d915 Mon Sep 17 00:00:00 2001 From: Carmine Porricelli Date: Mon, 9 Dec 2024 14:49:06 +0100 Subject: [PATCH] Update ProviderEServiceSummary.page.tsx --- .../ProviderEServiceSummary.page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ProviderEServiceSummaryPage/ProviderEServiceSummary.page.tsx b/src/pages/ProviderEServiceSummaryPage/ProviderEServiceSummary.page.tsx index 5f0793637..0a0e2e097 100644 --- a/src/pages/ProviderEServiceSummaryPage/ProviderEServiceSummary.page.tsx +++ b/src/pages/ProviderEServiceSummaryPage/ProviderEServiceSummary.page.tsx @@ -135,7 +135,7 @@ const ProviderEServiceSummaryPage: React.FC = () => { statusChip={{ for: 'eservice', state: 'DRAFT', - isDraftToCorrect: descriptor && descriptor.rejectionReasons?.length !== 0, + isDraftToCorrect: descriptor?.rejectionReasons && descriptor.rejectionReasons.length > 0, }} >