fix(frontend/person): replace wrong orcid link prefix in profile component #106

Merged
tischer merged 1 commits from fix/replace_wrong_orcid_link_in_profile into dev 2026-06-04 17:05:39 +02:00
@@ -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,
);