From c3b39111ecdf90333d05f9e28e1ec2bd85e579cd Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Thu, 22 May 2025 12:19:18 +0530 Subject: [PATCH 1/2] fix error for if components is available (#723) Co-authored-by: Sudhir Verma --- src/pages/BesVersionHistory/AssessmentReport/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/BesVersionHistory/AssessmentReport/index.tsx b/src/pages/BesVersionHistory/AssessmentReport/index.tsx index bf365771..844516f6 100644 --- a/src/pages/BesVersionHistory/AssessmentReport/index.tsx +++ b/src/pages/BesVersionHistory/AssessmentReport/index.tsx @@ -1201,7 +1201,7 @@ const CryptographyModal = ({ cryptography }: any) => { total + (component.evidence?.occurrences?.length || 0), 0 @@ -1432,7 +1432,7 @@ function GetAssessmentData( if (report === 'Cryptography' && Object.keys(cryptography).length) { return [ - cryptography.components.reduce( + cryptography?.components?.reduce( (total: any, component: any) => total + (component.evidence?.occurrences?.length || 0), 0 From c1947f801295daa69ccf15b864676d6364857dcc Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Thu, 22 May 2025 12:43:57 +0530 Subject: [PATCH 2/2] Update apiDetailsConfig.json --- src/apiDetailsConfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apiDetailsConfig.json b/src/apiDetailsConfig.json index 78e05e02..f923bce7 100644 --- a/src/apiDetailsConfig.json +++ b/src/apiDetailsConfig.json @@ -13,6 +13,6 @@ "token": "" }, "activeTool": "github", - "version": "0.28.5", + "version": "0.28.6", "labName": "Be-Secure Community Lab" }