From 21e948fcc4032ece13dc751033feb6796947451d Mon Sep 17 00:00:00 2001 From: Manuel Tauber Date: Thu, 2 May 2024 15:35:15 +0200 Subject: [PATCH] t --- frontend/src/app/data.service.ts | 2 +- frontend/src/app/ntt-gantt/ntt-gantt.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/data.service.ts b/frontend/src/app/data.service.ts index 06059b6..fdbd943 100644 --- a/frontend/src/app/data.service.ts +++ b/frontend/src/app/data.service.ts @@ -645,7 +645,7 @@ export class DataService { if(resp.d2!=null){ let isFixed = true; - if(resp.state == 0 || resp.state == 3){ + if(resp.state == 0 || resp.state == 3 || resp.state == 9){ isFixed = false; } tasks.push( diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts index 2d05719..d08ae03 100644 --- a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts +++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts @@ -1139,12 +1139,14 @@ export class NttGanttComponent implements OnInit { } } if(args.dialogModel){ + args = null; args.cancel = true; if(args.rowData.taskData.resources[0].state == 0){ window.open("https://itsm-test-neu-smartit.asfinag.at/smartit/app/#/paketPV/"+args.rowData.taskData.resources[0].packageInstanceId+"\"", "_blank"); }else{ window.open("https://itsm-test-neu-smartit.asfinag.at/smartit/app/#/changePV/"+args.rowData.taskData.resources[0].packageInstanceId+"\"", "_blank"); } + this.ganttDefault.hideSpinner(); }else{ if(args.requestType=='sorting'){ let colName = "";