1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[PM-3919] Remove deprecated Angular functionality from ModalService (#6285)

Remove deprecated Angular functionality from ModalService so we can upgrade Angular.
This commit is contained in:
Oscar Hinton
2024-01-22 10:36:42 +01:00
committed by GitHub
parent 487d17daed
commit 7bb4ea842f
6 changed files with 29 additions and 107 deletions

View File

@@ -1,4 +1,4 @@
import { ApplicationRef, ComponentFactoryResolver, Injectable, Injector } from "@angular/core";
import { Injectable, Injector } from "@angular/core";
import * as jq from "jquery";
import { first } from "rxjs/operators";
@@ -13,12 +13,10 @@ export class ModalService extends BaseModalService {
modalOpen = false;
constructor(
componentFactoryResolver: ComponentFactoryResolver,
applicationRef: ApplicationRef,
injector: Injector,
private messagingService: MessagingService,
) {
super(componentFactoryResolver, applicationRef, injector);
super(injector);
}
protected setupHandlers(modalRef: ModalRef) {