mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2977] made language change persistenr (#3373)
This commit is contained in:
committed by
Eugenio Romano
parent
04e50eeabd
commit
997713bca3
@@ -62,7 +62,7 @@ export class UserPreferencesService {
|
||||
private apiService: AlfrescoApiService
|
||||
) {
|
||||
this.appConfig.onLoad.subscribe(this.initUserPreferenceStatus.bind(this));
|
||||
this.localeSubject = new BehaviorSubject(this.defaults.locale);
|
||||
this.localeSubject = new BehaviorSubject(this.userPreferenceStatus[UserPreferenceValues.Locale]);
|
||||
this.locale$ = this.localeSubject.asObservable();
|
||||
this.onChangeSubject = new BehaviorSubject(this.userPreferenceStatus);
|
||||
this.onChange = this.onChangeSubject.asObservable();
|
||||
|
Reference in New Issue
Block a user