Skip to content

Commit

Permalink
Update VariantsDataTable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Oct 2, 2024
1 parent 6df88e9 commit 7bea52d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/searchResults/VariantsDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function VariantsDataTable({ apiReply, datasetId }) {
},
{
Header: "Variant type",
accessor: "variation.molecularAttributes.molecularEffects[0].label"
accessor: "variation.type"
},
{
Header: TooltipHeader(
Expand All @@ -35,9 +35,17 @@ export default function VariantsDataTable({ apiReply, datasetId }) {
V: {cld.variantId}
</a>
<br/>
<a href={`/analysis?id=${cld.analysisId}&datasetIds=${datasetId}`} target="_blank" rel="noreferrer">
A: {cld.analysisId}
</a>
<br/>
<a href={`/biosample?id=${cld.biosampleId}&datasetIds=${datasetId}`} target="_blank" rel="noreferrer">
B: {cld.biosampleId}
</a>
<br/>
<a href={`/individual?id=${cld.individualId}&datasetIds=${datasetId}`} target="_blank" rel="noreferrer">
I: {cld.individualId}
</a>
</div>
))
}
Expand Down

0 comments on commit 7bea52d

Please sign in to comment.