Skip to content

Commit

Permalink
Sort Components Vulnerabilities by Severity or CWE
Browse files Browse the repository at this point in the history
Resolves DependencyTrack/dependency-track#708

Signed-off-by: fupgang <75629871+fupgang@users.noreply.github.com>
  • Loading branch information
fupgang authored and netomi committed Aug 8, 2024
1 parent a5916a1 commit a6b8744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/portfolio/projects/ComponentVulnerabilities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
{
title: this.$t('message.cwe'),
field: 'cwes',
sortable: false,
sortable: true,
formatter(value, row, index) {
if (typeof value !== 'undefined') {
let s = '';
Expand All @@ -99,7 +99,7 @@ export default {
{
title: this.$t('message.severity'),
field: 'severity',
sortable: false,
sortable: true,
formatter(value, row, index) {
if (typeof value !== 'undefined') {
return common.formatSeverityLabel(value);
Expand Down

0 comments on commit a6b8744

Please sign in to comment.