Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login_btnClick() {
- var NTLoginID = ((document.getElementById("NTLoginID") as HTMLInputElement).value);
- this._homeService.get(Global.BASE_USER_ENDPOINT + '/EmployeeDetailsApi?user_id=' + NTLoginID)
- .do(data => sessionStorage.setItem('session',JSON.stringify(data)))
- .subscribe(homes => { this.homes = homes; this.indLoading = false; },
- error => this.msg = <any>error);
- var session = sessionStorage.getItem('session');
- alert(JSON.stringify(session));
- this.router.navigateByUrl('/user');
- }
Add Comment
Please, Sign In to add comment