From a5beb8ba763ab0f822bbdd6e5e60fb5d4aa0fc06 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 16 Oct 2023 16:07:42 +0300 Subject: [PATCH] [Explore | angular-16]: [Bug fix] funders.component.ts: Added ADDITIONAL check to the previous commit (about choosing among multiple stakeholders with the same index info). --- explore/src/app/funders/funders.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/explore/src/app/funders/funders.component.ts b/explore/src/app/funders/funders.component.ts index 60e3f9ca..12d6a192 100644 --- a/explore/src/app/funders/funders.component.ts +++ b/explore/src/app/funders/funders.component.ts @@ -189,6 +189,8 @@ export class FundersComponent implements OnInit { queriedFunders4.forEach(queriedFunder => { let id = queriedFunder.index_id + '||' + queriedFunder.index_name + '||' + queriedFunder.index_shortName; if(this.fundersMap.has(id) && ( + !this.fundersMap.get(id).monitorDashboardStatus + || (this.fundersMap.get(id).monitorDashboardStatus == "RESTRICTED" && queriedFunder.visibility == "PUBLIC") || (this.fundersMap.get(id).monitorDashboardStatus == "PRIVATE" && (queriedFunder.visibility == "RESTRICTED" || queriedFunder.visibility == "PUBLIC")))) {