1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-24 16:49:26 +01:00

assign toaster service global

This commit is contained in:
Kyle Spearrin 2018-05-31 14:40:34 -04:00
parent 79b204fc67
commit 0314b4280a
2 changed files with 4 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 79f8370f7c37104f3f207dc36d2d0c55ac73f55c Subproject commit e0d5a4d8b706f3b44a07d2d77e1bf127a117179d

View File

@ -82,7 +82,9 @@ export class AppComponent implements OnInit {
private platformUtilsService: PlatformUtilsService, private ngZone: NgZone, private platformUtilsService: PlatformUtilsService, private ngZone: NgZone,
private lockService: LockService, private storageService: StorageService, private lockService: LockService, private storageService: StorageService,
private cryptoService: CryptoService, private componentFactoryResolver: ComponentFactoryResolver, private cryptoService: CryptoService, private componentFactoryResolver: ComponentFactoryResolver,
private messagingService: MessagingService, private collectionService: CollectionService) { } private messagingService: MessagingService, private collectionService: CollectionService) {
(window as any).BitwardenToasterService = toasterService;
}
ngOnInit() { ngOnInit() {
this.ngZone.runOutsideAngular(() => { this.ngZone.runOutsideAngular(() => {