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:
parent
2ca34b46db
commit
82cb52a938
@ -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,
|
||||
|
@ -685,7 +685,7 @@ import { ModalService } from "./modal.service";
|
||||
{
|
||||
provide: OrganizationServiceAbstraction,
|
||||
useClass: OrganizationService,
|
||||
deps: [StateServiceAbstraction],
|
||||
deps: [StateServiceAbstraction, StateProvider],
|
||||
},
|
||||
{
|
||||
provide: InternalOrganizationServiceAbstraction,
|
||||
|
Loading…
Reference in New Issue
Block a user