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