From 2549f5b0ad1181d7933a550a5916b1856516438a Mon Sep 17 00:00:00 2001 From: jessopb <36554050+jessopb@users.noreply.github.com> Date: Thu, 30 Dec 2021 15:35:35 -0500 Subject: [PATCH] fix library filter crash (#7376) --- ui/util/claim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/claim.js b/ui/util/claim.js index 3049283f0..ca67e1205 100644 --- a/ui/util/claim.js +++ b/ui/util/claim.js @@ -57,7 +57,7 @@ export function filterClaims(claims: Array, query: ?string): Array return ( (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)) ); });