File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 60
60
<div class =" wrapper" >
61
61
<Heading level =" 3" size =" small" >Vulnerabilities</Heading >
62
62
63
- {#if ! image .hasSBOM }
63
+ {#if ! image .hasSBOM && image . vulnerabilitySummary !== null }
64
64
<BodyShort >
65
65
<WarningIcon class =" text-aligned-icon" /> Data was discovered, but the SBOM was not rendered.
66
66
Please refer to the <Link href ={docURL (' /services/vulnerabilities/' )}
Original file line number Diff line number Diff line change 71
71
<Card columns ={3 }>
72
72
<div class =" summary" >
73
73
<Heading level =" 4" size =" small" spacing >Summary</Heading >
74
+
74
75
{#if image .vulnerabilitySummary }
75
76
<VulnerabilityBadges summary ={image .vulnerabilitySummary } />
76
- {:else if ! image .hasSBOM }
77
+ {:else if ! image .hasSBOM && image . vulnerabilitySummary !== null }
77
78
<WarningIcon class =" text-aligned-icon" />
78
79
Data was discovered, but the SBOM was not rendered. Please refer to the
79
80
<a href ={docURL (' /services/vulnerabilities/' )}>NAIS documentation</a >
Original file line number Diff line number Diff line change 70
70
<Heading level =" 4" size =" small" spacing >Summary</Heading >
71
71
{#if image .vulnerabilitySummary }
72
72
<VulnerabilityBadges summary ={image .vulnerabilitySummary } />
73
- {:else if ! image .hasSBOM }
73
+ {:else if ! image .hasSBOM && image . vulnerabilitySummary !== null }
74
74
<WarningIcon class =" text-aligned-icon" />
75
75
Data was discovered, but the SBOM was not rendered. Please refer to the
76
76
<a href ={docURL (' /services/vulnerabilities/' )}>NAIS documentation</a >
You can’t perform that action at this time.
0 commit comments