Commit 7ae85c89 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '25-cart-missing-accession-data' into 'master'

Resolve: "Cart: Missing accession data added"

Closes #25

See merge request !20
parents 4833cd8e 57d51157
......@@ -141,7 +141,9 @@ class CartPage extends React.Component<ICartPageProps, ICartPageState> {
</th>
<th>{ t('accession.model') }</th>
<th>{ t('accession.accessionName') }</th>
<th>{ t('accession.taxonomy.scientificName') }</th>
<th>{ t('accession.countryOfOrigin') }</th>
<th>{ t('accession.sampStat') }</th>
</tr>
</thead>
<tbody>
......@@ -159,7 +161,9 @@ class CartPage extends React.Component<ICartPageProps, ICartPageState> {
</td>
<td><Link to={ `/a/${a.uuid}` }>{ a.accessionNumber }</Link></td>
<td>{ a.accessionName }</td>
<td><span dangerouslySetInnerHTML={ { __html: a.taxonomy.taxonNameHtml } } /></td>
<td>{ a.countryOfOrigin && (countryCodes && countryCodes[a.countryOfOrigin.code3] || a.countryOfOrigin.name) }</td>
<td>{ a.sampStat && t(`accession.sampleStatus.${a.sampStat}`) }</td>
</tr>
)) }
</tbody>
......
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