From 4e1ea6d04cb95b7df2e27d52c76b9f6b3547d0bd Mon Sep 17 00:00:00 2001
From: genja
+ h_index: {{person.summary_stats?.h_index }} +
diff --git a/webapp/src/app/modules/person/person.component.html b/webapp/src/app/modules/person/person.component.html index ad1e8518..b4fba84c 100644 --- a/webapp/src/app/modules/person/person.component.html +++ b/webapp/src/app/modules/person/person.component.html @@ -21,6 +21,11 @@ } @if (citedByCount() !== null) { {{ citedByCount() }} Zitationen + } + + + @if (h_index() !== null) { + h_index: {{ h_index() }} } } diff --git a/webapp/src/app/modules/person/person.component.ts b/webapp/src/app/modules/person/person.component.ts index 2dd189ec..ad9cf516 100644 --- a/webapp/src/app/modules/person/person.component.ts +++ b/webapp/src/app/modules/person/person.component.ts @@ -23,10 +23,6 @@ import { PersonsService, WorksService } from '../../api'; import { LoadingComponent } from '../../shared/ui/loading/loading.component'; import { PersonBioResolved } from '../../resolvers/person-bio.resolver'; -const PERSON_INCLUDE_TAGS = - 'topics_full,topic_share,summary_stats,ids,last_known_institutions,' + - 'sources,counts_by_year,works_api_url,dates,cited_by_count_boost'; - @Component({ selector: 'app-person', imports: [ @@ -143,6 +139,7 @@ export class PersonComponent { ); readonly worksCount = computed(() => this.person()?.works_count ?? null); readonly citedByCount = computed(() => this.person()?.cited_by_count ?? null); + readonly h_index = computed(() => this.person()?.summary_stats?.h_index ?? null); readonly orcid = computed(() => { const rawOrcid = this.getId('orcid'); if (!rawOrcid) {