Commit 116785ef authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: Dataset and Subset URL fixed

parent dbd9e049
......@@ -281,7 +281,7 @@ class AccessionDetailsPage extends React.Component<IAccessionDetailsPage & WithT
<h2 className="mt-4">{ t('accession.subsets') }</h2>
{ accession.subsets.map((subset, idx) => (
<div key={ idx }>
<a target="_blank" href= { `${publicWebsiteUrl}/subset/${subset.uuid}` }>{ subset.title }</a>
<a target="_blank" href= { `${publicWebsiteUrl}/subsets/${subset.uuid}` }>{ subset.title }</a>
<p>{ subset.description }</p>
</div>
)) }
......@@ -293,7 +293,7 @@ class AccessionDetailsPage extends React.Component<IAccessionDetailsPage & WithT
<h2 className="mt-4">{ t('accession.datasets') }</h2>
{ accession.datasets.map((dataset, idx) => (
<div key={ idx }>
<a target="_blank" href= { `${publicWebsiteUrl}/dataset/${dataset.uuid}` }>{ dataset.title }</a>
<a target="_blank" href= { `${publicWebsiteUrl}/datasets/${dataset.uuid}` }>{ dataset.title }</a>
<p>{ dataset.description }</p>
</div>
)) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment