mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-31 17:57:43 +01:00
null check
This commit is contained in:
parent
61d37615af
commit
31cb6916c6
@ -34,7 +34,7 @@ export class UnsecuredWebsitesReportComponent extends CipherReportComponent impl
|
||||
if (c.type !== CipherType.Login || !c.login.hasUris) {
|
||||
return false;
|
||||
}
|
||||
return c.login.uris.find((u) => u.uri.indexOf('http://') === 0) != null;
|
||||
return c.login.uris.find((u) => u.uri != null && u.uri.indexOf('http://') === 0) != null;
|
||||
});
|
||||
this.ciphers = unsecuredCiphers;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user