Skip to content

Commit e45feeb

Browse files
committed
fix(ui): show info icon for any finding with analysis
1 parent a09c10e commit e45feeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/src/utils/metrics.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ export function buildVulnerabilityColumns(
222222
style: tagStyle
223223
}, { default: () => row.type })
224224

225-
if (isSuppressed) {
225+
// Show info icon for any finding with an analysis state
226+
if (row.analysisState) {
226227
const tooltipContent = [
227-
`State: ${row.analysisState || 'Unknown'}`,
228+
`State: ${row.analysisState}`,
228229
h('br'),
229230
`Date: ${row.analysisDate ? new Date(row.analysisDate).toLocaleString('en-CA', {hour12: false}) : 'Unknown'}`
230231
]

0 commit comments

Comments
 (0)