[Explore | develop]: funders.component.ts: [Bug fix] Updated logoUrl parsing - if isUpload is true, get logo from properties.utilsService + "/download/".

angular-15
Konstantina Galouni 10 months ago
parent c7ffca77fd
commit 36108a81f1

@ -161,7 +161,7 @@ export class FundersComponent implements OnInit {
this.fundersMap.get(id).alias = queriedFunder.alias;
this.fundersMap.get(id).monitorDashboard = queriedFunder.alias;
this.fundersMap.get(id).monitorDashboardStatus = queriedFunder.visibility;
this.fundersMap.get(id).logoUrl = queriedFunder.logoUrl;
this.fundersMap.get(id).logoUrl = (queriedFunder.isUpload ? properties.utilsService + "/download/" : "")+ (queriedFunder.logoUrl);
} else {
this.fundersMap.set(id, {
"id": queriedFunder.id,
@ -171,8 +171,8 @@ export class FundersComponent implements OnInit {
"openAccessResearchProducts": 0,
"projects": 0,
"monitorDashboard": queriedFunder.alias,
"monitorDashboardStatus": queriedFunder.visibility,
"logoUrl": queriedFunder.logoUrl
"monitorDashboardStatus": queriedFunder.visibility,
"logoUrl": (queriedFunder.isUpload ? properties.utilsService + "/download/" : "")+ (queriedFunder.logoUrl)
});
}
});

@ -1 +1 @@
Subproject commit 2f989107123ae674aba4907b113e4498a8f87786
Subproject commit 4700cc82c866ed86158234f706fc52360bc34637
Loading…
Cancel
Save