[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).
This commit is contained in:
parent
713e6014c3
commit
a5beb8ba76
|
@ -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")))) {
|
||||
|
|
Loading…
Reference in New Issue