consolidated requests into one list
This commit is contained in:
parent
4a2fbb402f
commit
0cecc84dde
12 changed files with 52 additions and 58 deletions
react/components/AssetDisplay
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue