Translation service fixes

This commit is contained in:
Denys Vuika
2016-05-13 10:14:12 +01:00
parent 27898fecdb
commit dc14b688f5
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ export class AlfrescoTranslationLoader implements TranslateLoader {
}
getTranslation(lang: string): Observable<any> {
return new Observable.create(observer => {
return Observable.create(observer => {
Observable.forkJoin(
this.http.get(`${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
this.http.get('node_modules/ng2-alfresco-upload/' + `${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),