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" } 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