Skip to content

Commit

Permalink
display orcid as the source if name is not public (#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn authored Oct 16, 2024
1 parent bb84ff9 commit 54e6f5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2 class="orc-font-body-large" i18n="@@side-bar.emailAddressesUppercase">
[name]="
email.professionalEmail
? orcidEmailValidation
: email.sourceName
: email.sourceName || email.source
"
[isEmailOrDomain]="true"
[date]="email.verificationDate | monthDayYearDateToString"
Expand Down
2 changes: 1 addition & 1 deletion src/app/cdk/side-bar/side-bar/side-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h4 header i18n="@@side-bar.verifiedEmailAddresses">
[name]="
email.professionalEmail
? orcidEmailValidation
: email.sourceName
: email.sourceName || email.source
"
[isEmailOrDomain]="true"
[date]="email.verificationDate | monthDayYearDateToString"
Expand Down

0 comments on commit 54e6f5a

Please sign in to comment.