Skip to content

Commit

Permalink
GroupIDs on new lines as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Feb 3, 2025
1 parent 04491b9 commit 8223593
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/output/html/vuln_table_template.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
{{ else }}
<div class="tooltip">
<div class="clickable" onclick="openVulnInNewTab('{{ $element.ID }}')">{{ $element.ID }}</div>
<span class="tooltiptext">Group IDs: {{ join $element.GroupIDs ", " }}</span>
<span class="tooltiptext">Group IDs: <br>
{{ range $rowIndex, $alias := $element.GroupIDs }}
{{ $alias }}<br>
{{ end }}
</span>
</div>
{{ end }}
</td>
Expand Down

0 comments on commit 8223593

Please sign in to comment.