Display data extracts in <ul>

This commit is contained in:
Maciej Ziarkowski 2019-09-09 13:26:24 +01:00
parent a49b04f1aa
commit 56662c38bf

View File

@ -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
} }