main
parent
da852888cd
commit
a6ffb41ff1
|
|
@ -83,6 +83,10 @@ export class FilterDialogComponent implements OnInit {
|
|||
if(data[0].userSg){
|
||||
this.userSupportGroup = data[0].userSg;
|
||||
}
|
||||
this.dataService.fetchUserSupportGroup().then((res:any)=>{
|
||||
console.log("\nNEW FETCHED USER SG IN FILTERCOMPONEN");
|
||||
this.userSupportGroup = res.name;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -150,10 +154,7 @@ export class FilterDialogComponent implements OnInit {
|
|||
this.prevFiltersSg[0] = this.userSupportGroup;
|
||||
}
|
||||
|
||||
this.dataService.fetchUserSupportGroup().then((res:any)=>{
|
||||
console.log("\nNEW FETCHED USER SG IN FILTERCOMPONEN");
|
||||
this.userSupportGroup = res.name;
|
||||
});
|
||||
|
||||
//console.log(this.userSupportGroup);
|
||||
if(this.languageService.language == 'DE'){
|
||||
for (const state of this.dataService.getStates()) {
|
||||
|
|
@ -169,6 +170,8 @@ export class FilterDialogComponent implements OnInit {
|
|||
console.log("\nPUSHING SUPPORTGROUPS STORED IN DATASERVICE");
|
||||
this.supportGroups.push(supportGroup.name);
|
||||
}
|
||||
// this.supportGroups.push(this.userSupportGroup);
|
||||
|
||||
for (const contract of this.dataService.getContracts()) {
|
||||
this.contracts.push(contract.name);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -414,6 +414,7 @@ export class NttGanttComponent implements OnInit {
|
|||
|
||||
this.dataService.fetchUserSupportGroup().then((res: any)=>{
|
||||
this.userSupportGroup = res.name;
|
||||
console.log(this.userSupportGroup);
|
||||
this.refreshData();
|
||||
this.states = this.dataService.getStates();
|
||||
this.dataService.fetchStates().then((res: any [])=>{
|
||||
|
|
|
|||
Loading…
Reference in New Issue