mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
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() {
|
||||
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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user