Catch undefined reference to anonymous upload names

This commit is contained in:
liamcardenas 2018-03-08 21:27:06 -08:00
parent 1cb122c839
commit c199a24986

View file

@ -95,7 +95,7 @@ class FileList extends React.PureComponent {
uriParams.claimId = this.getChannelSignature(fileInfo); uriParams.claimId = this.getChannelSignature(fileInfo);
} else { } else {
uriParams.claimId = fileInfo.claim_id; uriParams.claimId = fileInfo.claim_id;
uriParams.claimName = fileInfo.claim_name; uriParams.claimName = fileInfo.claim_name || fileInfo.name;
} }
const uri = buildURI(uriParams); const uri = buildURI(uriParams);