File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
apps/site/components/EOL/VulnerabilitiesTable Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ const VulnerabilitiesTable: FC<{
2626 { vulnerabilities . map ( ( vulnerability , i ) => (
2727 < tr key = { i } >
2828 < td >
29- { vulnerability . cve . length
30- ? vulnerability . cve . map ( cveId => (
31- < div key = { cveId } >
32- < LinkWithArrow
33- href = { `https://www.cve.org/CVERecord?id= ${ cveId } ` }
34- target = "_blank "
35- rel = "noopener noreferrer"
36- >
37- { cveId }
38- </ LinkWithArrow >
39- </ div >
40- ) )
41- : '-' }
29+ { vulnerability . cve . map ( cveId => (
30+ < div key = { cveId } >
31+ < LinkWithArrow
32+ href = { `https://www.cve.org/CVERecord?id= ${ cveId } ` }
33+ target = "_blank"
34+ rel = "noopener noreferrer "
35+ >
36+ { cveId }
37+ </ LinkWithArrow >
38+ </ div >
39+ ) ) }
40+
41+ { vulnerability . cve . length > 0 || '-' }
4242 </ td >
4343 < td >
4444 < VulnerabilityChip severity = { vulnerability . severity } />
You can’t perform that action at this time.
0 commit comments