@@ -49,9 +49,8 @@ class EnrichmentTooltip extends React.Component {
4949 let { node} = this . props ;
5050 let { description, name } = this . state ;
5151 let title = node . data ( 'name' ) ;
52- // See #1348 https://github.com/PathwayCommons/app-ui/issues/1348
53- // let sharedGeneList = node.data('intersection').sort();
54- // let sharedGeneCount = sharedGeneList.length;
52+ let sharedGeneList = node . data ( 'intersection' ) . sort ( ) ;
53+ let sharedGeneCount = sharedGeneList . length ;
5554 let url = node . data ( 'uri' ) ;
5655
5756 if ( ! this . state . descriptionLoaded ) {
@@ -84,11 +83,10 @@ class EnrichmentTooltip extends React.Component {
8483 ] ) ,
8584 h ( 'div.cy-tooltip-body' , [
8685 descriptionSection ,
87- // See #1348 https://github.com/PathwayCommons/app-ui/issues/1348
88- // h('div.cy-tooltip-section', [
89- // h('div.cy-tooltip-field-name', 'Genes Shared with Entered List (' + sharedGeneCount + ')'),
90- // h('div.cy-tooltip-field-value', sharedGeneList.join(', ')),
91- // ])
86+ h ( 'div.cy-tooltip-section' , [
87+ h ( 'div.cy-tooltip-field-name' , 'Genes Shared with Entered List (' + sharedGeneCount + ')' ) ,
88+ h ( 'div.cy-tooltip-field-value' , sharedGeneList . join ( ', ' ) ) ,
89+ ] )
9290 ] ) ,
9391 h ( 'div.cy-tooltip-call-to-action' , [
9492 h ( 'a' , {
0 commit comments