From fc737ec7c068ef36eecafbb085b865b9789ae008 Mon Sep 17 00:00:00 2001 From: Manuel Tauber Date: Fri, 26 Jan 2024 13:38:26 +0100 Subject: [PATCH] t --- frontend/src/app/ntt-gantt/ntt-gantt.component.html | 4 +++- frontend/src/app/ntt-gantt/ntt-gantt.component.ts | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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)=>{