diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.html b/frontend/src/app/ntt-gantt/ntt-gantt.component.html index d84f12d..898f6ad 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.html +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.html @@ -52,7 +52,9 @@ -

verified_user RSSO User: {{this.userId}}

+

verified_user RSSO User: {{this.userId}}

+

verified_user RSSO Auth Failed

+

verified_user RSSO: initializing

diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts index a0caf92..657d150 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts @@ -164,7 +164,8 @@ export class NttGanttComponent implements OnInit { public showSaveUnderButton: boolean = false; public isUserPreset: boolean = false; - public userId : string = ""; + public userId : string = null; + public rssoInit: boolean = true; /**###################################################################### Initial Loading functions ######################################################################*/ @@ -191,8 +192,11 @@ export class NttGanttComponent implements OnInit { this.sliceEnd = 20; this.dataService.getUser().then((res: any)=>{ + console.log("##################"); console.log(res); + this.rssoInit = false; this.userId = res.userId; + }); // this.dataService.initPresets().then((res: any)=>{