mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
simplify user component (#447)
* simplify user component * language picker selector
This commit is contained in:
committed by
Cilibiu Bogdan
parent
045c4ee9a2
commit
bc554bb8d3
@@ -31,7 +31,7 @@ import {
|
||||
import { ElectronService } from '@ngstack/electron';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { AppStore } from './store/states/app.state';
|
||||
import { SetHeaderColorAction, SetAppNameAction, SetLogoPathAction } from './store/actions';
|
||||
import { SetHeaderColorAction, SetAppNameAction, SetLogoPathAction, SetLanguagePickerAction } from './store/actions';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -115,5 +115,7 @@ export class AppComponent implements OnInit {
|
||||
if (logoPath) {
|
||||
this.store.dispatch(new SetLogoPathAction(logoPath));
|
||||
}
|
||||
const languagePicker = this.config.get<boolean>('languagePicker');
|
||||
this.store.dispatch(new SetLanguagePickerAction(languagePicker));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user