Browse Source

hasLoaded moved to load method

pull/307/head
Kyle Spearrin 7 years ago
parent
commit
b44eee8d81
  1. 2
      src/app/tools/reused-passwords-report.component.ts
  2. 2
      src/app/tools/unsecured-websites-report.component.ts
  3. 2
      src/app/tools/weak-passwords-report.component.ts

2
src/app/tools/reused-passwords-report.component.ts

@ -33,7 +33,6 @@ export class ReusedPasswordsReportComponent implements OnInit { @@ -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 { @@ -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) {

2
src/app/tools/unsecured-websites-report.component.ts

@ -32,7 +32,6 @@ export class UnsecuredWebsitesReportComponent implements OnInit { @@ -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 { @@ -46,6 +45,7 @@ export class UnsecuredWebsitesReportComponent implements OnInit {
});
this.ciphers = unsecuredCiphers;
this.loading = false;
this.hasLoaded = true;
}
selectCipher(cipher: CipherView) {

2
src/app/tools/weak-passwords-report.component.ts

@ -35,7 +35,6 @@ export class WeakPasswordsReportComponent implements OnInit { @@ -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 { @@ -54,6 +53,7 @@ export class WeakPasswordsReportComponent implements OnInit {
});
this.ciphers = weakPasswordCiphers;
this.loading = false;
this.hasLoaded = true;
}
selectCipher(cipher: CipherView) {

Loading…
Cancel
Save