From 176699c7b65b28d1013a1cacce6c04cae6d980b8 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 13 Mar 2024 06:06:01 -0400 Subject: [PATCH] feat: add internal column to component search list view Signed-off-by: Adam Setch --- src/views/portfolio/components/ComponentSearch.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/portfolio/components/ComponentSearch.vue b/src/views/portfolio/components/ComponentSearch.vue index 984e2f94..affd68c2 100644 --- a/src/views/portfolio/components/ComponentSearch.vue +++ b/src/views/portfolio/components/ComponentSearch.vue @@ -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 ? '' : ''; + }, + }, { title: this.$t('message.cpe'), field: 'cpe',