Commit 57d51157 authored by Maksym Tishchenko's avatar Maksym Tishchenko
Browse files

Cart: Missing accession data added

parent 4833cd8e
......@@ -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