|
|
|
@ -87,7 +87,7 @@ export class WelcomeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
|
false
|
|
|
|
false
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log( this.user);
|
|
|
|
|
|
|
|
|
|
|
|
this.userName = localStorage.getItem("user");
|
|
|
|
this.userName = localStorage.getItem("user");
|
|
|
|
this.password = localStorage.getItem("password");
|
|
|
|
this.password = localStorage.getItem("password");
|
|
|
|
@ -96,6 +96,8 @@ export class WelcomeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
|
this.logintype= localStorage.getItem("login-type");
|
|
|
|
this.logintype= localStorage.getItem("login-type");
|
|
|
|
this.lastLoginDate= localStorage.getItem("login-at");
|
|
|
|
this.lastLoginDate= localStorage.getItem("login-at");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.lastLoginDate= new Date(this.lastLoginDate).toISOString()
|
|
|
|
// this.lastLoginDate= new Date(this.lastLoginDate).toISOString()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -185,7 +187,7 @@ export class WelcomeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
|
console.log(this.confimLogin.buttons[0]);
|
|
|
|
console.log(this.confimLogin.buttons[0]);
|
|
|
|
|
|
|
|
|
|
|
|
this.confimLogin.buttons[0].forEach(element => {
|
|
|
|
this.confimLogin.buttons[0].forEach(element => {
|
|
|
|
if (this.logintype === element.value) {
|
|
|
|
if (this.user.LoginType === element.value) {
|
|
|
|
console.log(this.logintype );
|
|
|
|
console.log(this.logintype );
|
|
|
|
console.log(element.value);
|
|
|
|
console.log(element.value);
|
|
|
|
console.log("this.logintype === element.value");
|
|
|
|
console.log("this.logintype === element.value");
|
|
|
|
@ -199,7 +201,7 @@ export class WelcomeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, 200);
|
|
|
|
}, 100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public moreLoginOptions() {}
|
|
|
|
public moreLoginOptions() {}
|
|
|
|
|