From 221931ecaa764b91929eef9ab8a9ab703b5ce274 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Mon, 29 Nov 2021 10:14:49 +1000 Subject: [PATCH] Update jslib (#1319) * Update jslib * Update constructors * Update jslib --- jslib | 2 +- src/app/accounts/lock.component.ts | 9 ++++++--- src/app/accounts/login.component.ts | 10 +++++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/jslib b/jslib index d02fcd082e..78429aa720 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d02fcd082edd8f94cff30d057644540eb6ccde87 +Subproject commit 78429aa7201989ad74a9ca36cc6832fcce0d4aee diff --git a/src/app/accounts/lock.component.ts b/src/app/accounts/lock.component.ts index 5cb8387858..25afa64e4e 100644 --- a/src/app/accounts/lock.component.ts +++ b/src/app/accounts/lock.component.ts @@ -1,4 +1,7 @@ -import { Component } from '@angular/core'; +import { + Component, + NgZone +} from '@angular/core'; import { Router } from '@angular/router'; import { ApiService } from 'jslib-common/abstractions/api.service'; @@ -29,10 +32,10 @@ export class LockComponent extends BaseLockComponent { storageService: StorageService, vaultTimeoutService: VaultTimeoutService, environmentService: EnvironmentService, private routerService: RouterService, stateService: StateService, apiService: ApiService, logService: LogService, - keyConnectorService: KeyConnectorService) { + keyConnectorService: KeyConnectorService, ngZone: NgZone) { super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService, storageService, vaultTimeoutService, environmentService, stateService, apiService, logService, - keyConnectorService); + keyConnectorService, ngZone); } async ngOnInit() { diff --git a/src/app/accounts/login.component.ts b/src/app/accounts/login.component.ts index 44a16baaf1..ad8078156a 100644 --- a/src/app/accounts/login.component.ts +++ b/src/app/accounts/login.component.ts @@ -1,4 +1,7 @@ -import { Component } from '@angular/core'; +import { + Component, + NgZone, +} from '@angular/core'; import { ActivatedRoute, Router, @@ -35,12 +38,13 @@ export class LoginComponent extends BaseLoginComponent { storageService: StorageService, stateService: StateService, platformUtilsService: PlatformUtilsService, environmentService: EnvironmentService, passwordGenerationService: PasswordGenerationService, cryptoFunctionService: CryptoFunctionService, - private apiService: ApiService, private policyService: PolicyService, logService: LogService) { + private apiService: ApiService, private policyService: PolicyService, logService: LogService, + ngZone: NgZone) { super(authService, router, platformUtilsService, i18nService, stateService, environmentService, passwordGenerationService, cryptoFunctionService, - storageService, logService); + storageService, logService, ngZone); this.onSuccessfulLoginNavigate = this.goAfterLogIn; }