mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Update jslib (#2202)
* Update jslib * Update constructors * Update jslib
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: b4f475251a...78429aa720
@@ -1,4 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import {
|
||||||
|
Component,
|
||||||
|
NgZone,
|
||||||
|
} from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import Swal from 'sweetalert2';
|
import Swal from 'sweetalert2';
|
||||||
|
|
||||||
@@ -31,10 +34,11 @@ export class LockComponent extends BaseLockComponent {
|
|||||||
userService: UserService, cryptoService: CryptoService,
|
userService: UserService, cryptoService: CryptoService,
|
||||||
storageService: StorageService, vaultTimeoutService: VaultTimeoutService,
|
storageService: StorageService, vaultTimeoutService: VaultTimeoutService,
|
||||||
environmentService: EnvironmentService, stateService: StateService,
|
environmentService: EnvironmentService, stateService: StateService,
|
||||||
apiService: ApiService, logService: LogService, keyConnectorService: KeyConnectorService) {
|
apiService: ApiService, logService: LogService, keyConnectorService: KeyConnectorService,
|
||||||
|
ngZone: NgZone) {
|
||||||
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService,
|
||||||
storageService, vaultTimeoutService, environmentService, stateService, apiService, logService,
|
storageService, vaultTimeoutService, environmentService, stateService, apiService, logService,
|
||||||
keyConnectorService);
|
keyConnectorService, ngZone);
|
||||||
this.successRoute = '/tabs/current';
|
this.successRoute = '/tabs/current';
|
||||||
this.isInitialLockScreen = (window as any).previousPopupUrl == null;
|
this.isInitialLockScreen = (window as any).previousPopupUrl == null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import {
|
||||||
|
Component,
|
||||||
|
NgZone,
|
||||||
|
} from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
|
|
||||||
import { AuthService } from 'jslib-common/abstractions/auth.service';
|
import { AuthService } from 'jslib-common/abstractions/auth.service';
|
||||||
@@ -24,9 +27,9 @@ export class LoginComponent extends BaseLoginComponent {
|
|||||||
protected stateService: StateService, protected environmentService: EnvironmentService,
|
protected stateService: StateService, protected environmentService: EnvironmentService,
|
||||||
protected passwordGenerationService: PasswordGenerationService,
|
protected passwordGenerationService: PasswordGenerationService,
|
||||||
protected cryptoFunctionService: CryptoFunctionService, storageService: StorageService,
|
protected cryptoFunctionService: CryptoFunctionService, storageService: StorageService,
|
||||||
syncService: SyncService, logService: LogService) {
|
syncService: SyncService, logService: LogService, ngZone: NgZone) {
|
||||||
super(authService, router, platformUtilsService, i18nService, stateService, environmentService,
|
super(authService, router, platformUtilsService, i18nService, stateService, environmentService,
|
||||||
passwordGenerationService, cryptoFunctionService, storageService, logService);
|
passwordGenerationService, cryptoFunctionService, storageService, logService, ngZone);
|
||||||
super.onSuccessfulLogin = async () => {
|
super.onSuccessfulLogin = async () => {
|
||||||
await syncService.fullSync(true);
|
await syncService.fullSync(true);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user