Commit 2ccdf5e8 authored by prumde's avatar prumde

Updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174241 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dc85a4fb
......@@ -85,9 +85,6 @@ export class EcmCheckoutComponent implements OnInit {
}
});
if(this.checkUser() == 'undefined' && this.checkUser() == null && this.checkUser() == 'null'){
this.step = 0;
}
}
ngAfterViewChecked(): void {
......@@ -192,16 +189,18 @@ export class EcmCheckoutComponent implements OnInit {
});
}
checkUser(){
createUserData() {
var userInfo = localStorage.getItem( 'userInfo' );
if ( userInfo !== 'undefined' && userInfo !== null && userInfo !== 'null' )
{
return userInfo;
this.userData = JSON.parse( userInfo );
this.selectedStep = 1;
}
else
{
return userInfo;
this.userData = null;
}
console.log( 'ECMHeaderComponent getUserInfo ::' + userInfo + ' \n this.userData :: ' + this.userData );
}
step;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment