Project

General

Profile

« Previous | Next » 

Revision 58591

[Library|Trunk]

Impact factors:
update according to the mocks
show them also in beta

View differences:

searchResult.component.ts
34 34
    // console.log(data[1]);
35 35
    let dois = encodeURIComponent(this.results.map((result) => result.DOI).join(","));
36 36
    // console.log(dois);
37
    if(dois.length > 0 && this.showImpactFactors && this.properties.environment == "development") {
37
    if(dois.length > 0 && this.showImpactFactors && this.properties.environment != "production") {
38 38
      let url = 'http://bip.imis.athena-innovation.gr:4000/paper/scores/batch/' + dois;
39 39
      this.http.get(url).subscribe((data_received) => {
40 40
        for (let i = 0; i < this.previewResults.length; i++) {

Also available in: Unified diff