diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5c1d438e..93f2f90f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -575,8 +575,8 @@ export class AppComponent implements OnInit { private async reloadProcess(): Promise { const accounts = Object.keys(this.stateService.accounts.getValue()); if (accounts.length > 0) { - for (const userId in accounts) { - if (!(await this.vaultTimeoutService.isLocked(accounts[userId]))) { + for (const userId of accounts) { + if (!(await this.vaultTimeoutService.isLocked(userId))) { return; } }