hasLoaded moved to load method
This commit is contained in:
parent
8f57ada128
commit
b44eee8d81
|
@ -33,7 +33,6 @@ export class ReusedPasswordsReportComponent implements OnInit {
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
await this.load();
|
await this.load();
|
||||||
this.hasLoaded = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async load() {
|
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.passwordUseMap.has(c.login.password) && this.passwordUseMap.get(c.login.password) > 1);
|
||||||
this.ciphers = reusedPasswordCiphers;
|
this.ciphers = reusedPasswordCiphers;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.hasLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
selectCipher(cipher: CipherView) {
|
selectCipher(cipher: CipherView) {
|
||||||
|
|
|
@ -32,7 +32,6 @@ export class UnsecuredWebsitesReportComponent implements OnInit {
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
await this.load();
|
await this.load();
|
||||||
this.hasLoaded = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async load() {
|
async load() {
|
||||||
|
@ -46,6 +45,7 @@ export class UnsecuredWebsitesReportComponent implements OnInit {
|
||||||
});
|
});
|
||||||
this.ciphers = unsecuredCiphers;
|
this.ciphers = unsecuredCiphers;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.hasLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
selectCipher(cipher: CipherView) {
|
selectCipher(cipher: CipherView) {
|
||||||
|
|
|
@ -35,7 +35,6 @@ export class WeakPasswordsReportComponent implements OnInit {
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
await this.load();
|
await this.load();
|
||||||
this.hasLoaded = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async load() {
|
async load() {
|
||||||
|
@ -54,6 +53,7 @@ export class WeakPasswordsReportComponent implements OnInit {
|
||||||
});
|
});
|
||||||
this.ciphers = weakPasswordCiphers;
|
this.ciphers = weakPasswordCiphers;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.hasLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
selectCipher(cipher: CipherView) {
|
selectCipher(cipher: CipherView) {
|
||||||
|
|
Loading…
Reference in New Issue