@ -35,6 +35,10 @@ export class AppComponent {
this.direction = this.storageService.getItem('direction') || directions.LTR;
this.storageService.setItem('direction', this.direction);
if (typeof document !== 'undefined') {
document.documentElement.setAttribute('dir', this.direction);
}
const userStr = this.storageService.getItem('user');
if (userStr) {
try {