mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4582] User preference - set layout orientation based on locale (#4744)
* set textOrientation based on locale * remove manually setting textOrientation * tests * revert to getBrowserCultureLang * match languages keys * update tests * fix types
This commit is contained in:
committed by
Denys Vuika
parent
26a495c95d
commit
58cf10be5f
@@ -130,8 +130,6 @@ export class AppLayoutComponent implements OnInit {
|
||||
if (this.alfrescoApiService.getInstance().isOauthConfiguration()) {
|
||||
this.enableRedirect = false;
|
||||
}
|
||||
|
||||
this.userPreferencesService.set('textOrientation', this.direction);
|
||||
}
|
||||
|
||||
setState(state) {
|
||||
|
Reference in New Issue
Block a user