commit
parent
c08ca831ff
commit
b94d9f79a7
|
|
@ -281,6 +281,7 @@ export class DataService {
|
||||||
public async updateStatePerChange(change: any){
|
public async updateStatePerChange(change: any){
|
||||||
const promise = new Promise(resolve=>{
|
const promise = new Promise(resolve=>{
|
||||||
let obj = {changeNr : change.changeNr, currentState : change.currentState, nextState : change.nextState};
|
let obj = {changeNr : change.changeNr, currentState : change.currentState, nextState : change.nextState};
|
||||||
|
console.log("###############"+change.changeNr);
|
||||||
let stringyfiedData = JSON.stringify(obj);
|
let stringyfiedData = JSON.stringify(obj);
|
||||||
let dataJson = JSON.parse(stringyfiedData) as typeof stringyfiedData;
|
let dataJson = JSON.parse(stringyfiedData) as typeof stringyfiedData;
|
||||||
// console.log(dataJson);
|
// console.log(dataJson);
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,10 @@ export class NttGanttComponent implements OnInit {
|
||||||
this.spin = true;
|
this.spin = true;
|
||||||
this.renderGantt = true;
|
this.renderGantt = true;
|
||||||
this.showNoResultsError = false;
|
this.showNoResultsError = false;
|
||||||
|
if(this.selectedScalar == this.scalars[1]){
|
||||||
this.renderplanTime = true;
|
this.renderplanTime = true;
|
||||||
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
this.renderGantt = false;
|
this.renderGantt = false;
|
||||||
this.spin = false;
|
this.spin = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue