fix #460 again again

This commit is contained in:
Jeremy Kauffman 2017-08-28 09:29:29 -04:00
parent 90c83c6239
commit 8fd9d64b7f

View file

@ -68,7 +68,7 @@ class FileList extends React.PureComponent {
if (fileInfo.channel_name) { if (fileInfo.channel_name) {
uriParams.channelName = fileInfo.channel_name; uriParams.channelName = fileInfo.channel_name;
uriParams.contentName = fileInfo.name; uriParams.contentName = fileInfo.name;
if (fileInfo.value && fileInfo.publisherSignature) { if (fileInfo.value && fileInfo.value.publisherSignature) {
// The following can be done as certificateID of a claim is nothing but the claimID of the channel. // The following can be done as certificateID of a claim is nothing but the claimID of the channel.
uriParams.claimId = fileInfo.value.publisherSignature.certificateId; uriParams.claimId = fileInfo.value.publisherSignature.certificateId;
} }