diff --git a/libs/common/src/services/search.service.ts b/libs/common/src/services/search.service.ts index 919a58941e..fe25698b70 100644 --- a/libs/common/src/services/search.service.ts +++ b/libs/common/src/services/search.service.ts @@ -196,7 +196,7 @@ export class SearchService implements SearchServiceAbstraction { if ( c.login && c.login.hasUris && - c.login.uris.some((loginUri) => loginUri.uri.toLowerCase().indexOf(query) > -1) + c.login.uris.some((loginUri) => loginUri?.uri?.toLowerCase().indexOf(query) > -1) ) { return true; }