Skip to content

Commit

Permalink
feat: add internal column to component search list view
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <adam.setch@outlook.com>
  • Loading branch information
setchy committed Mar 13, 2024
1 parent 0b1ca47 commit 176699c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/views/portfolio/components/ComponentSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ export default {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
{
title: this.$t('message.internal'),
field: 'isInternal',
sortable: false,
align: 'center',
class: 'tight',
formatter: function (value, row, index) {
return value === true ? '<i class="fa fa-check-square-o" />' : '';
},
},
{
title: this.$t('message.cpe'),
field: 'cpe',
Expand Down

0 comments on commit 176699c

Please sign in to comment.