[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:
parent
e6589f60d2
commit
697fdfa2f3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue