From 0ad9c3c1c209336e208a238e9d14a7bdcc860281 Mon Sep 17 00:00:00 2001 From: Tushar Goel Date: Thu, 4 Jan 2024 11:28:50 +0530 Subject: [PATCH] Fix isse 1385 Reference: https://github.com/nexB/vulnerablecode/issues/1385 Signed-off-by: Tushar Goel --- vulnerabilities/templates/package_details.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulnerabilities/templates/package_details.html b/vulnerabilities/templates/package_details.html index ed10cd122..632790304 100644 --- a/vulnerabilities/templates/package_details.html +++ b/vulnerabilities/templates/package_details.html @@ -43,7 +43,7 @@
- {% if affected_by_vulnerabilities|length == 0 %} + {% if affected_by_vulnerabilities|length != 0 %}
{% else %}
@@ -65,7 +65,7 @@
- {% if affected_by_vulnerabilities|length == 0 %} + {% if affected_by_vulnerabilities|length != 0 %}