hasLoaded moved to load method

This commit is contained in:
Kyle Spearrin 2018-12-11 22:10:26 -05:00
parent 8f57ada128
commit b44eee8d81
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {