[angular-16-irish-monitor | DONE | CHANGED] Stakeholder service : change charts limit to 7 results

This commit is contained in:
argirok 2024-01-17 15:42:32 +02:00
parent f629a9c715
commit 93ae0db4dd
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ export class StakeholderService {
stakeholder.index_name = name;
stakeholder.name = name;
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
}
this.stakeholderSubject.next(stakeholder);