renamed existing request

This commit is contained in:
bill bittner 2018-02-12 19:01:29 -08:00
commit b1fb65b1ec
8 changed files with 64 additions and 57 deletions
react/components/AssetDisplay

View file

@ -8,8 +8,8 @@ const mapStateToProps = ({ show }) => {
status: show.displayAsset.status,
};
// select asset info
const existingRequest = show.assetRequests[show.request.id];
const assetKey = `a#${existingRequest.name}#${existingRequest.claimId}`;
const previousRequest = show.assetRequests[show.request.id];
const assetKey = `a#${previousRequest.name}#${previousRequest.claimId}`;
const asset = show.assetList[assetKey];
if (asset) {
props['asset'] = asset;