1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

PM-13114 - WebEnvSvc - setEnv now navigates to region (#11365)

This commit is contained in:
Jared Snider
2024-10-02 14:21:22 -04:00
committed by GitHub
parent c969f617a8
commit 398f9be351
2 changed files with 32 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
import { CommonModule } from "@angular/common";
import { APP_INITIALIZER, NgModule, Optional, SkipSelf } from "@angular/core";
import { Router } from "@angular/router";
import {
CollectionAdminService,
@@ -175,7 +176,7 @@ const safeProviders: SafeProvider[] = [
safeProvider({
provide: EnvironmentService,
useClass: WebEnvironmentService,
deps: [WINDOW, StateProvider, AccountService],
deps: [WINDOW, StateProvider, AccountService, Router],
}),
safeProvider({
provide: BiometricsService,