Skip to content

Commit 0ad9c3c

Browse files
committed
Fix isse 1385
Reference: #1385 Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent b827ade commit 0ad9c3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vulnerabilities/templates/package_details.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<div id="tab-content">
4444
<div class="tab-div is-active" data-content="essentials">
4545
<div class="tab-nested-div mb-1 pb-0">
46-
{% if affected_by_vulnerabilities|length == 0 %}
46+
{% if affected_by_vulnerabilities|length != 0 %}
4747
<div class="pl-3 pr-3 mb-5 floating-purl pb-0">
4848
{% else %}
4949
<div class="pl-3 pr-3 mb-5 floating-purl pb-2">
@@ -65,7 +65,7 @@
6565
</tbody>
6666
</table>
6767
</div>
68-
{% if affected_by_vulnerabilities|length == 0 %}
68+
{% if affected_by_vulnerabilities|length != 0 %}
6969

7070
<div class="pl-3 pr-3 mb-6 non-vuln pb-0">
7171
<table class="table vcio-table width-100-pct">

0 commit comments

Comments
 (0)