Mercurial > hg > ugly-duckling
diff src/app/feature-extraction-menu/feature-extraction-menu.component.ts @ 325:38f3fe548ac0
Merge pull request #1 from LucasThompson/fix/mobile-safari-high-water
Fix/mobile safari high water
author | Lucas Thompson <LucasThompson@users.noreply.github.com> |
---|---|
date | Tue, 16 May 2017 16:46:32 +0100 |
parents | e433a2da0ada |
children | 4387175f594b |
line wrap: on
line diff
--- a/src/app/feature-extraction-menu/feature-extraction-menu.component.ts Mon May 15 17:57:42 2017 +0100 +++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.ts Tue May 16 16:46:32 2017 +0100 @@ -80,9 +80,9 @@ } ngOnInit() { - this.piperService.list().then(this.populateExtractors); this.librariesUpdatedSubscription = this.piperService.librariesUpdated$.subscribe(this.populateExtractors); + this.piperService.list().then(this.populateExtractors); } extract(combinedKey: string): void { @@ -94,9 +94,7 @@ } load(): void { - this.piperService.updateAvailableLibraries().subscribe(res => { - Object.keys(res).forEach(key => this.piperService.load(key)); - }); + this.piperService.updateAvailableLibraries(); } ngOnDestroy(): void {