From 6107d7d3da064410f659d8e271c3096770d3ef13 Mon Sep 17 00:00:00 2001 From: Jordan Aasen <166539328+jaasen-livefront@users.noreply.github.com> Date: Mon, 2 Jun 2025 10:47:32 -0700 Subject: [PATCH] add taskService.listenForTaskNotifications to init service (#14985) --- apps/web/src/app/core/init.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/app/core/init.service.ts b/apps/web/src/app/core/init.service.ts index 43547ff5d57..39dc6e1edd4 100644 --- a/apps/web/src/app/core/init.service.ts +++ b/apps/web/src/app/core/init.service.ts @@ -19,6 +19,7 @@ import { NotificationsService } from "@bitwarden/common/platform/notifications"; import { ContainerService } from "@bitwarden/common/platform/services/container.service"; import { UserAutoUnlockKeyService } from "@bitwarden/common/platform/services/user-auto-unlock-key.service"; import { EventUploadService } from "@bitwarden/common/services/event/event-upload.service"; +import { TaskService } from "@bitwarden/common/vault/tasks"; import { KeyService as KeyServiceAbstraction } from "@bitwarden/key-management"; import { VersionService } from "../platform/version.service"; @@ -43,6 +44,7 @@ export class InitService { private sdkLoadService: SdkLoadService, private configService: ConfigService, private bulkEncryptService: BulkEncryptService, + private taskService: TaskService, @Inject(DOCUMENT) private document: Document, ) {} @@ -75,6 +77,7 @@ export class InitService { this.themingService.applyThemeChangesTo(this.document); this.versionService.applyVersionToWindow(); void this.ipcService.init(); + this.taskService.listenForTaskNotifications(); const containerService = new ContainerService(this.keyService, this.encryptService); containerService.attachToGlobal(this.win);