Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1524 | correcting links
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Mar 27, 2023
1 parent 19561b0 commit bd3a96a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/sources/SourceSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ const SummaryTable = ({ summary, source, fromSource }) => {
<React.Fragment>
<TableRow sx={{ '&:last-child td, &:last-child th': { border: 0 } }}>
<TableCell>
<a href={'#' + summary.version_url} target='_blank' rel='noreferrer noopener'>
{summary[0]}
</a>
{summary[0]}
</TableCell>
<TableCell align='right'>
{toNumDisplay(summary[1])}
Expand Down Expand Up @@ -106,7 +104,7 @@ const SummaryTable = ({ summary, source, fromSource }) => {
{
expand && (
map(distribution?.map_types, stats => {
let url = baseURL + `?facets={"mapType":{"${stats.map_type.toLowerCase()}":true},"${targetSource}":{"${summary.short_code}":true}}`
let url = baseURL + `?facets={"mapType":{"${stats.map_type.toLowerCase()}":true},"${targetSource}":{"${summary[0]}":true}}`
return (
<TableRow sx={{ '&:last-child td, &:last-child th': { border: 0 } }} key={stats.map_type}>
<TableCell style={{paddingLeft: '50px'}}>
Expand Down

0 comments on commit bd3a96a

Please sign in to comment.