diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Category.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Category.jsx index df3bee44ff..9fd81328f9 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Category.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Category.jsx @@ -32,7 +32,7 @@ function Category({ index, issue, subCategoryMap }) { { issue.vulnerableTestingRunResults.map((vulnerableTestingRunResult, index) => { - return ( ) + return ( ) }) } diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Issue.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Issue.jsx index ff9d8f64f5..3487536415 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Issue.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/Issue.jsx @@ -127,7 +127,7 @@ const Issue = ({ vulnerableApi, references, cwes }) => { References { - references.map((reference) => { + references?.map((reference) => { return ( {reference} @@ -142,7 +142,7 @@ const Issue = ({ vulnerableApi, references, cwes }) => { CWE { - cwes.map((cweItem) => { + cwes?.map((cweItem) => { return ( {cweItem}