mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
latest adf alpha (#353)
* latest adf alpha * fix test * try using instant translation for page titles * upgrade to latest alpha * update app config * upgrade to adf app config pipe * update libs * update libs * update config file * fix code after upgrade * upgrade e2e * upgrade libs * update libs * fix e2e
This commit is contained in:
@@ -62,10 +62,9 @@ export class AppComponent implements OnInit {
|
||||
const data: any = snapshot.data || {};
|
||||
|
||||
if (data.i18nTitle) {
|
||||
this.translateService.translate
|
||||
.stream(data.i18nTitle)
|
||||
.subscribe((title) => pageTitle.setTitle(title));
|
||||
|
||||
pageTitle.setTitle(
|
||||
this.translateService.instant(data.i18nTitle)
|
||||
);
|
||||
} else {
|
||||
pageTitle.setTitle(data.title || '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user