[Library]: Display claims: Fix bug with parameter types

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57249 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-10-03 09:18:12 +00:00
parent e6589f60d2
commit 697fdfa2f3
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ export class DisplayClaimsComponent {
for (let type of this.entityTypes) {
types += (types.length > 0 ? ',' : '') + type;
}
params += (types.length > 0) ? "types=" + types : "";
params += (types.length > 0) ? (params.length > 0 ? '&' : '') + "types=" + types : "";
if (this.isAdmin) {
params += (this.fetchBy == 'All' ? "" : (params.length > 0 ? '&' : '') + "fetchBy=" + this.fetchBy);