Skip to content

Commit

Permalink
Merge pull request #775 from setchy/feature/component-search-internal…
Browse files Browse the repository at this point in the history
…-column

feat(component): add internal column to component search list view
  • Loading branch information
nscuro authored Mar 13, 2024
2 parents 0d54e75 + 176699c commit 09a376e
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 09a376e

Please sign in to comment.