Skip to content

Commit

Permalink
fix(frontend): add missing special-case for openSuSE human links
Browse files Browse the repository at this point in the history
This commit addresses the other (more important) location where special
casing for openSuSE `human_link` that was overlooked in #2844
  • Loading branch information
andrewpollock committed Nov 13, 2024
1 parent 54560cb commit 747e1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/appengine/frontend3/src/templates/vulnerability.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="title">
</div>
<div class="mdc-layout-grid__cell--span-12">
<dl class="vulnerability-details">
{%- if vulnerability.human_source_link -%}
{%- if vulnerability.human_source_link and not vulnerability.id.startswith("openSUSE-") -%}
<dt>Source</dt>
<dd><a href="{{ vulnerability.human_source_link }}" target="_blank" rel="noopener noreferrer">{{
vulnerability.human_source_link }}</a>
Expand Down

0 comments on commit 747e1da

Please sign in to comment.