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:
sofia.baltzi 2018-05-29 14:46:14 +00:00
parent b0323c3ca6
commit c9eef20d8e
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ export class CommunitiesService {
}
}
}
communities.push(result);
if (result['type'] == 'community' || result['type'] == "ri") {
communities.push(result);
}
}
return communities;