diff --git a/src/server/views/html/status.rs b/src/server/views/html/status.rs index 7c974ef..c70d18a 100644 --- a/src/server/views/html/status.rs +++ b/src/server/views/html/status.rs @@ -287,7 +287,7 @@ fn vulnerability_list(analysis_outcome: &AnalyzeDependenciesOutcome) -> Markup { div class="level-item has-text-centered" { div { p class="heading" { "Patched" } - @if vuln.versions.unaffected().is_empty() { + @if vuln.versions.patched().is_empty() { p class="has-text-grey" { "None"} } @else { @for item in vuln.versions.patched() {