mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
assign toaster service global
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 79f8370f7c...e0d5a4d8b7
@@ -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