renamed existing request
This commit is contained in:
parent
0912cd45d9
commit
b1fb65b1ec
8 changed files with 64 additions and 57 deletions
react/components/AssetDisplay
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue