From b2be44e372ff3785e654b575518d967e3036384d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 17 Jan 2019 10:47:03 -0500 Subject: [PATCH] use some --- src/app/tools/unsecured-websites-report.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tools/unsecured-websites-report.component.ts b/src/app/tools/unsecured-websites-report.component.ts index 290c812b47..482e0c5d33 100644 --- a/src/app/tools/unsecured-websites-report.component.ts +++ b/src/app/tools/unsecured-websites-report.component.ts @@ -36,7 +36,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 != null && u.uri.indexOf('http://') === 0) != null; + return c.login.uris.some((u) => u.uri != null && u.uri.indexOf('http://') === 0); }); this.ciphers = unsecuredCiphers; }