diff --git a/js/pages/concept-sets/components/tabs/conceptset-annotation.js b/js/pages/concept-sets/components/tabs/conceptset-annotation.js index 058711b1d..e43ad8b7a 100644 --- a/js/pages/concept-sets/components/tabs/conceptset-annotation.js +++ b/js/pages/concept-sets/components/tabs/conceptset-annotation.js @@ -88,6 +88,17 @@ define([ }, sortable: false }, + { + title: ko.i18n('columns.originConceptSets', 'Origin Concept Sets'), + render: (d, t, r) => { + if (r.copiedFromConceptSetIds === null || r.copiedFromConceptSetIds === undefined) { + return 'N/A'; + } else { + return `
${r.copiedFromConceptSetIds}
` + } + }, + sortable: false + }, { title: ko.i18n('columns.action', 'Action'), sortable: false, @@ -101,7 +112,7 @@ define([ objectMap(obj) { const newObject = {}; - const keysNotToParse = ['createdBy', 'createdDate', 'vocabularyVersion', 'conceptSetVersion', 'searchData']; + const keysNotToParse = ['createdBy', 'createdDate', 'vocabularyVersion', 'conceptSetVersion', 'copiedFromConceptSetIds', 'searchData']; Object.keys(obj).forEach((key) => { if (typeof obj[key] === 'string' && !keysNotToParse.includes(key)) { newObject[key] = JSON.parse(obj[key] || null);