diff --git a/landingPages/project/project.service.ts b/landingPages/project/project.service.ts index 49fce96f..de5064de 100644 --- a/landingPages/project/project.service.ts +++ b/landingPages/project/project.service.ts @@ -174,13 +174,11 @@ export class ProjectService { if(data[2] != null) { this.projectInfo.organizations = [];//new Map(); - let acronym: string = ""; - let name: string = ""; - let id: string = ""; - if(!Array.isArray(data[2])) { if(data[2].hasOwnProperty("to") && data[2]['to'].class == "hasParticipant") { - + let acronym: string = ""; + let name: string = ""; + let id: string = ""; if (data[2].hasOwnProperty("legalshortname")) { acronym = data[2].legalshortname; } @@ -200,6 +198,9 @@ export class ProjectService { } } else { for(let i=0; i