1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

Properly set up StateProvider dependency for OrganizationService (#7841)

This commit is contained in:
Addison Beck 2024-02-07 10:28:14 -06:00 committed by GitHub
parent 2ca34b46db
commit 82cb52a938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ function getBgService<T>(service: keyof MainBackground) {
useFactory: (stateService: StateServiceAbstraction, stateProvider: StateProvider) => {
return new BrowserOrganizationService(stateService, stateProvider);
},
deps: [StateServiceAbstraction],
deps: [StateServiceAbstraction, StateProvider],
},
{
provide: VaultFilterService,

View File

@ -685,7 +685,7 @@ import { ModalService } from "./modal.service";
{
provide: OrganizationServiceAbstraction,
useClass: OrganizationService,
deps: [StateServiceAbstraction],
deps: [StateServiceAbstraction, StateProvider],
},
{
provide: InternalOrganizationServiceAbstraction,