|
|
|
|
@ -106,11 +106,12 @@ export class LoginComponent implements OnInit, OnDestroy {
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
this.monitorKeyboardChange();
|
|
|
|
|
this.userInfo = JSON.parse(localStorage.getItem('digitalIDUser'));
|
|
|
|
|
this.currentLang = TranslatorService.getCurrentLanguageCode();
|
|
|
|
|
|
|
|
|
|
// this.currentLang = TranslatorService.getCurrentLanguageCode();
|
|
|
|
|
this.currentLang = 2;
|
|
|
|
|
this.ts.setCurrentLanguage('en');
|
|
|
|
|
// if (this.currentLang == 2) {
|
|
|
|
|
// this.language = "US";
|
|
|
|
|
// this.changeLanguage('2')
|
|
|
|
|
this.changeLanguage('2')
|
|
|
|
|
// } else {
|
|
|
|
|
// this.language = "AR";
|
|
|
|
|
// this.changeLanguage('1')
|
|
|
|
|
|