fix: check that claim exists before checking value
This commit is contained in:
parent
6418b5a9f2
commit
006963322e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue