Parse communities only if type is community or ri
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52271 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
b0323c3ca6
commit
c9eef20d8e
|
@ -126,7 +126,9 @@ export class CommunitiesService {
|
|||
}
|
||||
}
|
||||
}
|
||||
communities.push(result);
|
||||
if (result['type'] == 'community' || result['type'] == "ri") {
|
||||
communities.push(result);
|
||||
}
|
||||
}
|
||||
|
||||
return communities;
|
||||
|
|
Loading…
Reference in New Issue