mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
hasLoaded spinners
This commit is contained in:
@@ -32,7 +32,7 @@ export class ReusedPasswordsReportComponent implements OnInit {
|
||||
constructor(private ciphersService: CipherService, private componentFactoryResolver: ComponentFactoryResolver) { }
|
||||
|
||||
async ngOnInit() {
|
||||
this.load();
|
||||
await this.load();
|
||||
this.hasLoaded = true;
|
||||
}
|
||||
|
||||
@@ -52,8 +52,9 @@ export class ReusedPasswordsReportComponent implements OnInit {
|
||||
this.passwordUseMap.set(c.login.password, 1);
|
||||
}
|
||||
});
|
||||
this.ciphers = ciphersWithPasswords.filter((c) =>
|
||||
const reusedPasswordCiphers = ciphersWithPasswords.filter((c) =>
|
||||
this.passwordUseMap.has(c.login.password) && this.passwordUseMap.get(c.login.password) > 1);
|
||||
this.ciphers = reusedPasswordCiphers;
|
||||
this.loading = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user