fix: downloads search

This commit is contained in:
Sean Yesmunt 2018-04-05 17:30:18 -04:00
parent d5b83c544f
commit ae5858d656

View file

@ -178,7 +178,7 @@ export const selectSearchDownloadUris = query =>
if (channelName) {
const claim = claimsById[claimId];
if (claim.value) {
if (claim && claim.value) {
uriParams.claimId = claim.value.publisherSignature.certificateId;
} else {
uriParams.claimId = claimId;