diff --git a/src/app/tools/reused-passwords-report.component.ts b/src/app/tools/reused-passwords-report.component.ts index 8733c2872e..6feb71d7ae 100644 --- a/src/app/tools/reused-passwords-report.component.ts +++ b/src/app/tools/reused-passwords-report.component.ts @@ -33,7 +33,6 @@ export class ReusedPasswordsReportComponent implements OnInit { async ngOnInit() { await this.load(); - this.hasLoaded = true; } async load() { @@ -56,6 +55,7 @@ export class ReusedPasswordsReportComponent implements OnInit { this.passwordUseMap.has(c.login.password) && this.passwordUseMap.get(c.login.password) > 1); this.ciphers = reusedPasswordCiphers; this.loading = false; + this.hasLoaded = true; } selectCipher(cipher: CipherView) { diff --git a/src/app/tools/unsecured-websites-report.component.ts b/src/app/tools/unsecured-websites-report.component.ts index e7998ef8df..f35ccadd66 100644 --- a/src/app/tools/unsecured-websites-report.component.ts +++ b/src/app/tools/unsecured-websites-report.component.ts @@ -32,7 +32,6 @@ export class UnsecuredWebsitesReportComponent implements OnInit { async ngOnInit() { await this.load(); - this.hasLoaded = true; } async load() { @@ -46,6 +45,7 @@ export class UnsecuredWebsitesReportComponent implements OnInit { }); this.ciphers = unsecuredCiphers; this.loading = false; + this.hasLoaded = true; } selectCipher(cipher: CipherView) { diff --git a/src/app/tools/weak-passwords-report.component.ts b/src/app/tools/weak-passwords-report.component.ts index 93562307d3..a7b3144791 100644 --- a/src/app/tools/weak-passwords-report.component.ts +++ b/src/app/tools/weak-passwords-report.component.ts @@ -35,7 +35,6 @@ export class WeakPasswordsReportComponent implements OnInit { async ngOnInit() { await this.load(); - this.hasLoaded = true; } async load() { @@ -54,6 +53,7 @@ export class WeakPasswordsReportComponent implements OnInit { }); this.ciphers = weakPasswordCiphers; this.loading = false; + this.hasLoaded = true; } selectCipher(cipher: CipherView) {