[angular-16-irish-monitor | DONE | CHANGED] Stakeholder service : change charts limit to 7 results
This commit is contained in:
parent
f629a9c715
commit
93ae0db4dd
|
@ -63,7 +63,7 @@ export class StakeholderService {
|
||||||
stakeholder.index_name = name;
|
stakeholder.index_name = name;
|
||||||
stakeholder.name = name;
|
stakeholder.name = name;
|
||||||
stakeholder.alias = orcid;
|
stakeholder.alias = orcid;
|
||||||
if(results <10 && stakeholder.topics[0]?.categories[0]?.subCategories[0]){
|
if(results <7 && stakeholder.topics[0]?.categories[0]?.subCategories[0]){
|
||||||
stakeholder.topics[0].categories[0].subCategories[0].charts=[]; // keep only numbers - charts wont show much anyway
|
stakeholder.topics[0].categories[0].subCategories[0].charts=[]; // keep only numbers - charts wont show much anyway
|
||||||
}
|
}
|
||||||
this.stakeholderSubject.next(stakeholder);
|
this.stakeholderSubject.next(stakeholder);
|
||||||
|
|
Loading…
Reference in New Issue