mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
assign toaster service global
This commit is contained in:
@@ -82,7 +82,9 @@ export class AppComponent implements OnInit {
|
||||
private platformUtilsService: PlatformUtilsService, private ngZone: NgZone,
|
||||
private lockService: LockService, private storageService: StorageService,
|
||||
private cryptoService: CryptoService, private componentFactoryResolver: ComponentFactoryResolver,
|
||||
private messagingService: MessagingService, private collectionService: CollectionService) { }
|
||||
private messagingService: MessagingService, private collectionService: CollectionService) {
|
||||
(window as any).BitwardenToasterService = toasterService;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.ngZone.runOutsideAngular(() => {
|
||||
|
||||
Reference in New Issue
Block a user