diff --git a/webapp/src/app/modules/person-card/person-card.component.html b/webapp/src/app/modules/person-card/person-card.component.html index 3826bb26..d8e39eae 100644 --- a/webapp/src/app/modules/person-card/person-card.component.html +++ b/webapp/src/app/modules/person-card/person-card.component.html @@ -34,6 +34,9 @@ Publikationen: {{ person.works_count }} ยท Zitationen: {{ person.cited_by_count }}

+

+ 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) {