main
manueltauber 2023-08-07 12:56:39 +02:00
parent c08ca831ff
commit b94d9f79a7
2 changed files with 5 additions and 1 deletions

View File

@ -281,6 +281,7 @@ export class DataService {
public async updateStatePerChange(change: any){
const promise = new Promise(resolve=>{
let obj = {changeNr : change.changeNr, currentState : change.currentState, nextState : change.nextState};
console.log("###############"+change.changeNr);
let stringyfiedData = JSON.stringify(obj);
let dataJson = JSON.parse(stringyfiedData) as typeof stringyfiedData;
// console.log(dataJson);

View File

@ -238,7 +238,10 @@ export class NttGanttComponent implements OnInit {
this.spin = true;
this.renderGantt = true;
this.showNoResultsError = false;
this.renderplanTime = true;
if(this.selectedScalar == this.scalars[1]){
this.renderplanTime = true;
}
}else{
this.renderGantt = false;
this.spin = false;