diff --git a/webapp/src/app/modules/person/person.component.ts b/webapp/src/app/modules/person/person.component.ts index 283cfcce..317a5782 100644 --- a/webapp/src/app/modules/person/person.component.ts +++ b/webapp/src/app/modules/person/person.component.ts @@ -101,7 +101,13 @@ readonly personBio = toSignal( ); readonly worksCount = computed(() => this.person()?.works_count ?? null); readonly citedByCount = computed(() => this.person()?.cited_by_count ?? null); - readonly orcid = computed(() => this.getId('orcid')); + readonly orcid = computed(() => { + const rawOrcid = this.getId('orcid'); + if (!rawOrcid) { + return null; + } + return rawOrcid.replace('https://orcid.org/', ''); + }); readonly orcidUrl = computed(() => this.orcid() ? `https://orcid.org/${this.orcid()}` : null, );