1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-24 16:49:26 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 7 deletions

2
jslib

@ -1 +1 @@
Subproject commit d02fcd082edd8f94cff30d057644540eb6ccde87
Subproject commit 78429aa7201989ad74a9ca36cc6832fcce0d4aee

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