@@ -16,7 +16,7 @@ import ConceptSummaryProperties from '../concepts/ConceptSummaryProperties'
1616import MapButton from './MapButton'
1717import Score from './Score'
1818
19- const MappingDecisionResult = ( { targetConcept, row, rowIndex, mapTypes, allMapTypes, onMap, proposed, columns, repoVersion} ) => {
19+ const MappingDecisionResult = ( { targetConcept, row, rowIndex, mapTypes, allMapTypes, onMap, proposed, columns, repoVersion, onTargetClick } ) => {
2020 const parentParams = targetConcept ?. url ? URIToParentParams ( targetConcept . url ) : { }
2121 const hasClass = has ( row , 'Class' ) || has ( row , 'Concept Class' ) || has ( row , 'Property: Class' )
2222 const hasDatatype = has ( row , 'Datatype' ) || has ( row , 'datatype' ) || has ( row , 'Property: Datatype' )
@@ -137,7 +137,7 @@ const MappingDecisionResult = ({targetConcept, row, rowIndex, mapTypes, allMapTy
137137 < Typography component = 'div' sx = { { color : 'rgba(0, 0, 0, 0.6)' , fontSize : '12px' } } > Relationship</ Typography >
138138 < MapButton options = { allMapTypes } selected = { mapTypes [ rowIndex ] } onClick = { ( event , applied , mapType ) => onMap ( event , targetConcept , ! applied , mapType ) } isMapped sx = { { marginTop : '6px' } } mapOnly usedMapTypes = { compact ( values ( mapTypes ) ) } />
139139 </ div >
140- < div style = { { marginLeft : '24px' , maxWidth : '45%' } } >
140+ < div style = { { marginLeft : '24px' , maxWidth : '45%' , cursor : 'pointer' } } onClick = { ( ) => onTargetClick ( targetConcept ) } >
141141 < Typography component = 'span' sx = { { color : 'rgba(0, 0, 0, 0.6)' , fontSize : '12px' } } > Target Code</ Typography >
142142 < div className = 'col-xs-12 padding-0' >
143143 < ListItemText
0 commit comments