Skip to content

Commit

Permalink
Sort Components Vulnerabilities by Severity or CWE
Browse files Browse the repository at this point in the history
  • Loading branch information
fupgang committed Jun 18, 2024
1 parent 05da885 commit 27b6001
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 27b6001

Please sign in to comment.