fix(frontend/person): replace wrong orcid link prefix in profile component #106
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user