mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26:30 +00:00
Fix displaying patched versions (#127)
This commit is contained in:
parent
f2899ceb81
commit
7ac25b31ff
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ fn vulnerability_list(analysis_outcome: &AnalyzeDependenciesOutcome) -> Markup {
|
||||||
div class="level-item has-text-centered" {
|
div class="level-item has-text-centered" {
|
||||||
div {
|
div {
|
||||||
p class="heading" { "Patched" }
|
p class="heading" { "Patched" }
|
||||||
@if vuln.versions.unaffected().is_empty() {
|
@if vuln.versions.patched().is_empty() {
|
||||||
p class="has-text-grey" { "None"}
|
p class="has-text-grey" { "None"}
|
||||||
} @else {
|
} @else {
|
||||||
@for item in vuln.versions.patched() {
|
@for item in vuln.versions.patched() {
|
||||||
|
|
Loading…
Reference in a new issue