|
|
|
|
@ -142,6 +142,8 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|
|
|
|
this.logintype = localStorage.getItem('login-type');
|
|
|
|
|
// tslint:disable-next-line: radix
|
|
|
|
|
let isEng = localStorage.getItem('lang')
|
|
|
|
|
console.log('++++++++++++++++++++'+isEng)
|
|
|
|
|
if(isEng !== null){
|
|
|
|
|
if(isEng){
|
|
|
|
|
this.currentLang = 2;
|
|
|
|
|
this.language = "US";
|
|
|
|
|
@ -151,6 +153,8 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|
|
|
|
this.language = "AR";
|
|
|
|
|
this.changeLanguage('1')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// tslint:disable-next-line: triple-equals
|
|
|
|
|
if (remember == 'true') { this.remeberMe = true; } else { this.remeberMe = false; }
|
|
|
|
|
}
|
|
|
|
|
|