Commit e4267a5d authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '98-update-xlsx-file' into 'master'

Resolve "Update XLSX file"

Closes #98

See merge request genesys-pgr/genesys-ui!96
parents ce765b08 b093ada7
......@@ -75,7 +75,6 @@ class ListOfAccession extends React.Component<IListOfAccession, any> {
public render() {
const {classes, subset, t} = this.props;
const { subsetAccessions } = this.state;
return (
<div className={ `${ classes.root } m-20 p-20 even-row` }>
......@@ -101,13 +100,14 @@ class ListOfAccession extends React.Component<IListOfAccession, any> {
</div>
<h3>{ t('subsets.dashboard.p.stepper.accessionList.accessionListCount', {count: subsetAccessions && subsetAccessions.length || 0}) }</h3>
{ subsetAccessions &&
<h3>{ t('subsets.dashboard.p.stepper.accessionList.accessionListCount', {count: subset.accessionRefs && subset.accessionRefs.length || 0}) }</h3>
{ subset.accessionRefs &&
<AccessionRefsTable AccessionRefs={ subset.accessionRefs.map((accessionRef) => (
{
doi: accessionRef.accession.doi,
instCode: accessionRef.accession.institute.code,
acceNumb: accessionRef.accession.accessionNumber,
species: accessionRef.accession.taxonomy.species,
genus: accessionRef.accession.taxonomy.genus,
}
)) }/>
......
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