1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

Update jslib (#1319)

* Update jslib

* Update constructors

* Update jslib
This commit is contained in:
Thomas Rittson
2021-11-29 10:14:49 +10:00
committed by GitHub
parent 4b856d9016
commit 221931ecaa
3 changed files with 14 additions and 7 deletions

2
jslib

Submodule jslib updated: d02fcd082e...78429aa720

View File

@@ -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() {

View File

@@ -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;
}