mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix dev build (#2491)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, ViewEncapsulation } from '@angular/core';
|
import { Component, ViewEncapsulation } from '@angular/core';
|
||||||
import { AlfrescoTranslationService, UserPreferencesService } from 'ng2-alfresco-core';
|
import { UserPreferencesService } from 'ng2-alfresco-core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: 'app-layout.component.html',
|
templateUrl: 'app-layout.component.html',
|
||||||
@@ -45,7 +45,7 @@ export class AppLayoutComponent {
|
|||||||
{ href: '/about', icon: 'info_outline', title: 'About' }
|
{ href: '/about', icon: 'info_outline', title: 'About' }
|
||||||
];
|
];
|
||||||
|
|
||||||
constructor(private translateService: AlfrescoTranslationService, private preferences: UserPreferencesService) {}
|
constructor(private preferences: UserPreferencesService) {}
|
||||||
|
|
||||||
changeLanguage(lang: string) {
|
changeLanguage(lang: string) {
|
||||||
this.preferences.locale = lang;
|
this.preferences.locale = lang;
|
||||||
|
Reference in New Issue
Block a user