Commit 457e8af2 authored by prumde's avatar prumde

Updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175177 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 84e119e9
......@@ -32,17 +32,18 @@ export class AppComponent {
url= (<HTMLInputElement>document.getElementById("hostUrl")).value;
}
this.hostUrlService.hostUrl = url;
setTimeout(() => {
this.checkAppState();
}, 1000);
}
checkAppState(){
this.setItem('jwtToken', this.get('jwtToken'), false );
this.setItem('appstate', this.get('app_stat'), true );
this.setItem('TOKEN_ID', this.get('TOKEN_ID'), true );
this.setItem('ECM_TYPE', this.get('ECM_TYPE'), true );
this.setItem('SITE_CODE', this.get('SITE_CODE'), true );
setTimeout(() => {
this.checkAppState();
}, 1000);
}
checkAppState(){
this.signinService.fetchUserData().subscribe(
response => {
if(response){
......
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