From d37140866b98b19a900eae1ac687e754806b9dec Mon Sep 17 00:00:00 2001 From: Steven Tischer Date: Thu, 4 Jun 2026 13:57:30 +0200 Subject: [PATCH] fix(frontend/person): replace wrong orcid link prefix in profile component --- webapp/src/app/modules/person/person.component.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, ); -- 2.56.1