mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
PS-1267 Null check URI values (#3315)
This commit is contained in:
parent
ce4fd26e0d
commit
9d0dd613fb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user