Revision 58752
Added by Argiro Kokogiannaki almost 4 years ago
searchResult.component.ts | ||
---|---|---|
38 | 38 |
let url = this.properties.impactFactorsAPIURL + dois; |
39 | 39 |
this.http.get((this.properties.useCache?(this.properties.cacheUrl+(encodeURIComponent(url))):url)).subscribe((data_received) => { |
40 | 40 |
for (let i = 0; i < this.previewResults.length; i++) { |
41 |
this.previewResults[i].pop_inf = new Array<string>();
|
|
42 |
if (this.previewResults[i].DOI != '' && this.previewResults[i].DOI != null) {
|
|
41 |
if (this.previewResults[i].DOI != '' && this.previewResults[i].DOI != null && data_received[i].pop_class!=null && data_received[i].inf_class!=null) {
|
|
42 |
this.previewResults[i].pop_inf = new Array<string>();
|
|
43 | 43 |
this.previewResults[i].pop_inf.push(data_received[i].pop_class, data_received[i].inf_class); |
44 | 44 |
if(this.previewResults[i].pop_inf[0]=="A"){ |
45 | 45 |
// this.previewResults[i].pop_inf.push("High"); |
Also available in: Unified diff
[Library|Trunk]
Impact factors: Hide them when there is DOI but not found in bip-api