mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +00:00
null check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user