Display data extracts in <ul>
This commit is contained in:
parent
a49b04f1aa
commit
56662c38bf
@ -53,7 +53,15 @@ export default class DataExtracts extends React.Component<{}, DataExtractsState>
|
|||||||
this.state.previousExtracts && this.state.previousExtracts.length > 0 ?
|
this.state.previousExtracts && this.state.previousExtracts.length > 0 ?
|
||||||
(<div>
|
(<div>
|
||||||
<h1 className="h3">Older extracts</h1>
|
<h1 className="h3">Older extracts</h1>
|
||||||
{this.state.previousExtracts.map(e => <ExtractDownloadLink {...e} />)}
|
<ul>
|
||||||
|
{
|
||||||
|
this.state.previousExtracts.map(e =>
|
||||||
|
<li>
|
||||||
|
<ExtractDownloadLink {...e} />
|
||||||
|
</li>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
</div>) :
|
</div>) :
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user