diff --git a/jslib b/jslib index 9bd8b73e..bba52192 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 9bd8b73e27429b70a11e0016f794d1a976076c9f +Subproject commit bba52192dc9dff68cd4da80398a1127235ada06e diff --git a/src/app/services.module.ts b/src/app/services.module.ts index 4468414f..e9ac07c4 100644 --- a/src/app/services.module.ts +++ b/src/app/services.module.ts @@ -91,7 +91,6 @@ const tokenService = new TokenService(storageService); const appIdService = new AppIdService(storageService); const apiService = new ApiService(tokenService, platformUtilsService, async (expired: boolean) => messagingService.send('logout', { expired: expired })); -const environmentService = new EnvironmentService(apiService, storageService); const userService = new UserService(tokenService, storageService); const settingsService = new SettingsService(userService, storageService); export let searchService: SearchService = null; @@ -114,6 +113,7 @@ const authService = new AuthService(cryptoService, apiService, const exportService = new ExportService(folderService, cipherService, apiService); const auditService = new AuditService(cryptoFunctionService, apiService); const notificationsService = new NotificationsService(userService, tokenService, syncService, appIdService); +const environmentService = new EnvironmentService(apiService, storageService, notificationsService); const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService); containerService.attachToWindow(window); diff --git a/src/app/vault/view.component.html b/src/app/vault/view.component.html index 5a22b60b..ae73d032 100644 --- a/src/app/vault/view.component.html +++ b/src/app/vault/view.component.html @@ -257,8 +257,7 @@