consolidated requests into one list

This commit is contained in:
bill bittner 2018-02-14 12:09:57 -08:00
commit 0cecc84dde
12 changed files with 52 additions and 58 deletions
react/components/AssetDisplay

View file

@ -7,8 +7,8 @@ const mapStateToProps = ({ show }) => {
const error = show.displayAsset.error;
const status = show.displayAsset.status;
// select asset
const request = show.assetRequests[show.request.id];
const assetKey = `a#${request.name}#${request.claimId}`;
const request = show.previousRequests[show.request.id];
const assetKey = request.key;
const asset = show.assetList[assetKey];
// return props
return {