fix library filter crash (#7376)
This commit is contained in:
parent
0600646479
commit
2549f5b0ad
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export function filterClaims(claims: Array<Claim>, query: ?string): Array<Claim>
|
||||||
|
|
||||||
return (
|
return (
|
||||||
(value.title && value.title.match(queryMatchRegExp)) ||
|
(value.title && value.title.match(queryMatchRegExp)) ||
|
||||||
(claim.signing_channel && claim.signing_channel.name.match(queryMatchRegExp)) ||
|
(claim.signing_channel && claim.signing_channel.name && claim.signing_channel.name.match(queryMatchRegExp)) ||
|
||||||
(claim.name && claim.name.match(queryMatchRegExp))
|
(claim.name && claim.name.match(queryMatchRegExp))
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue