diff --git a/js/components/conceptset/conceptset-list.js b/js/components/conceptset/conceptset-list.js index 21dec19b2..392da05e0 100644 --- a/js/components/conceptset/conceptset-list.js +++ b/js/components/conceptset/conceptset-list.js @@ -17,6 +17,7 @@ define([ './included', './included-badge', './included-sourcecodes', + './recommend', './export', './import', 'less!./conceptset-list.less', @@ -89,6 +90,7 @@ define([ loadConceptSet: this.loadConceptSet, importing: this.importing, selectedTabKey: this.selectedTabKey, + canEdit: this.canEdit, }; this.tabs = [ { @@ -110,6 +112,14 @@ define([ componentName: 'conceptset-list-included-sourcecodes', componentParams: {...tabParams, loading: ko.pureComputed(() => (this.conceptSetStore.loadingSourceCodes() || this.loading()))} }, + { + title: ko.i18n('cs.manager.tabs.recommend', 'Recommend'), + key: ViewMode.RECOMMEND, + componentName: 'conceptset-recommend', + componentParams: { + ...tabParams, loading: ko.pureComputed(() => (this.conceptSetStore.loadingRecommended() || this.loading())) + } + }, { title: ko.i18n('common.export', 'Export'), key: ViewMode.EXPORT, diff --git a/js/pages/concept-sets/conceptset-manager.js b/js/pages/concept-sets/conceptset-manager.js index e329ac1de..650a3b5d5 100644 --- a/js/pages/concept-sets/conceptset-manager.js +++ b/js/pages/concept-sets/conceptset-manager.js @@ -238,8 +238,7 @@ define([ canEdit: this.canEdit, currentConceptSet: this.conceptSetStore.current, conceptSetStore: this.conceptSetStore, - loading: this.conceptSetStore.loadingIncluded, - activeConceptSet: ko.observable(this.conceptSetStore), + loading: this.conceptSetStore.loadingIncluded }, hasBadge: true, }, @@ -252,8 +251,7 @@ define([ tableOptions, canEdit: this.canEdit, conceptSetStore: this.conceptSetStore, - loading: this.conceptSetStore.loadingSourceCodes, - activeConceptSet: ko.observable(this.conceptSetStore), + loading: this.conceptSetStore.loadingSourceCodes }, }, { @@ -265,8 +263,7 @@ define([ tableOptions, canEdit: this.canEdit, conceptSetStore: this.conceptSetStore, - loading: this.conceptSetStore.loadingRecommended, - activeConceptSet: ko.observable(this.conceptSetStore), + loading: this.conceptSetStore.loadingRecommended } }, {