diff --git a/demo-shell/src/app/app.component.ts b/demo-shell/src/app/app.component.ts index e268bad09c..d97ecb34b8 100644 --- a/demo-shell/src/app/app.component.ts +++ b/demo-shell/src/app/app.component.ts @@ -16,7 +16,7 @@ */ import { Component, ViewEncapsulation, OnInit } from '@angular/core'; -import { AuthenticationService, AlfrescoApiService, PageTitleService, TranslationService } from '@alfresco/adf-core'; +import { AuthenticationService, AlfrescoApiService, PageTitleService } from '@alfresco/adf-core'; import { Router } from '@angular/router'; @Component({ @@ -30,17 +30,10 @@ export class AppComponent implements OnInit { constructor(private pageTitleService: PageTitleService, private alfrescoApiService: AlfrescoApiService, private authenticationService: AuthenticationService, - private translationService: TranslationService, private router: Router) { } ngOnInit() { - - // workaround for https://github.com/ngx-translate/core/issues/575 - this.translationService.translate.getTranslation('en').subscribe(() => { - this.translationService.translate.setDefaultLang('en'); - }); - this.pageTitleService.setTitle('title'); this.alfrescoApiService.getInstance().on('error', (error) => {