Skip to content

Commit

Permalink
Merge pull request #158 from opentargets/ah—fix—gene—page-links
Browse files Browse the repository at this point in the history
Fix links on gene page
  • Loading branch information
LucaFumis authored Jun 28, 2021
2 parents 5071fe8 + 2e36612 commit 55b332c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/GenePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class GenePage extends React.Component {
<Grid item className={classes.geneInfoItem}>
<a
className={classes.platformLink}
href={`${platformUrl}target/${geneId}?view=sec:known_drug`}
href={`${platformUrl}target/${geneId}`}
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -301,7 +301,7 @@ class GenePage extends React.Component {
<Grid item className={classes.geneInfoItem}>
<a
className={classes.platformLink}
href={`${platformUrl}target/${geneId}?view=sec:mouse_phenotypes`}
href={`${platformUrl}target/${geneId}`}
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -314,7 +314,7 @@ class GenePage extends React.Component {
<Grid item className={classes.geneInfoItem}>
<a
className={classes.platformLink}
href={`${platformUrl}target/${geneId}?view=sec:affected_pathway`}
href={`${platformUrl}target/${geneId}`}
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -325,7 +325,7 @@ class GenePage extends React.Component {
<Grid item className={classes.geneInfoItem}>
<a
className={classes.platformLink}
href={`${platformUrl}target/${geneId}?view=sec:expression`}
href={`${platformUrl}target/${geneId}`}
target="_blank"
rel="noopener noreferrer"
>
Expand Down Expand Up @@ -371,7 +371,7 @@ class GenePage extends React.Component {
<Grid item>
<a
className={classes.link}
href={`https://gtexportal.org/home/eqtls/byGene?geneId=${symbol}&tissueName=All`}
href={`https://gtexportal.org/home/gene/${symbol}`}
target="_blank"
rel="noopener noreferrer"
>
Expand Down

0 comments on commit 55b332c

Please sign in to comment.