Project

General

Profile

« Previous | Next » 

Revision 57647

StakeholderCreator:
initialize filters where is posible
monitor page:
apply filters when available
add filters section in html for testing (commented)
Indicator-utils:
create IndicatorPath from URL:
add checks if filters & queries exist
apply parameters when there are more than one queries
add Indicator filters if possible
old Tool:
add basic fields in parameters
fix url

View differences:

app.component.ts
8 8
import {SideBarService} from "./library/sharedComponents/sidebar/sideBar.service";
9 9
import {StakeholderService} from "./services/stakeholder.service";
10 10
import {Subscriber} from "rxjs";
11
import {StakeholderCreator} from "./utils/entities/stakeholderCreator";
11 12

  
12 13
@Component({
13 14
  selector: 'app-root',
......
43 44
              if(params['stakeholder']) {
44 45
                if(!this.stakeholderService.stakeholder ||
45 46
                  this.stakeholderService.stakeholder.alias !== params['stakeholder']) {
46
                  this.stakeholderService.getStakeholder(this.properties.monitorServiceAPIURL, params['stakeholder']).subscribe(stakeholder => {
47
                  // this.stakeholderService.getStakeholder(this.properties.monitorServiceAPIURL, params['stakeholder']).subscribe(stakeholder => {
47 48
                    // stakeholder = Stakeholder.createECStakeholder();
48
                   // let  stakeHolder = StakeholderCreator.createFunderFromDefaultProfile("ec","funder","ec__________::EC","European Commission","EC",false,"ec",true,true);
49
                  this.stakeholderService.setStakeholder(stakeholder);
49
                   let  stakeHolder = StakeholderCreator.createFunderFromDefaultProfile("ec","funder","ec__________::EC","European Commission","EC",false,"ec",true,true);
50
                  this.stakeholderService.setStakeholder(stakeHolder);
50 51
                    this.sidebarService.setOpen(true);
51
                  });
52
                  // });
52 53
                }
53 54
              } else {
54 55
                this.stakeholderService.setStakeholder(null);

Also available in: Unified diff