Skip to content

Commit

Permalink
Add Comment Column To External References
Browse files Browse the repository at this point in the history
The External References tab in Component Details, Project Details and
Service Details modals now has a column to display the comment field

Signed-off-by: Aravind Parappil <[email protected]>
  • Loading branch information
aravindparappil46 committed Apr 4, 2024
1 parent 46f84ff commit 107f62f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/views/portfolio/projects/ComponentDetailsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,14 @@ export default {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
{
title: this.$t('message.comment'),
field: 'comment',
sortable: false,
formatter(value, row, index) {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
],
referencesTableOptions: {
search: false,
Expand Down
8 changes: 8 additions & 0 deletions src/views/portfolio/projects/ProjectDetailsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,14 @@ export default {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
{
title: this.$t('message.comment'),
field: 'comment',
sortable: false,
formatter(value, row, index) {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
],
referencesTableOptions: {
search: false,
Expand Down
8 changes: 8 additions & 0 deletions src/views/portfolio/projects/ServiceDetailsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,14 @@ export default {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
{
title: this.$t('message.comment'),
field: 'comment',
sortable: false,
formatter(value, row, index) {
return xssFilters.inHTMLData(common.valueWithDefault(value, ''));
},
},
],
referencesTableOptions: {
search: false,
Expand Down

0 comments on commit 107f62f

Please sign in to comment.