Skip to content

Commit

Permalink
Fixed typo in orcid field name.
Browse files Browse the repository at this point in the history
  • Loading branch information
shilob authored and andrewbrazzatti committed Sep 18, 2023
1 parent 24fdcc1 commit 4227f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/shared/form/field-contributor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export class ContributorComponent extends SimpleComponent {
let fmFamilyName = _.get(this.field.formModel.value, 'family_name');
let fmGivenName = _.get(this.field.formModel.value, 'given_name');
let selectedEmail = _.get(selected, 'email');
let selectedOrcid = _.get(selected, 'email');
let selectedOrcid = _.get(selected, 'orcid');
let fmEmail = _.get(this.field.formModel.value, 'email');
let fmOrcid = _.get(this.field.formModel.value, 'orcid');
if (selectedFamilyName && selectedFamilyName == fmFamilyName && selectedGivenName && selectedGivenName == fmGivenName
Expand Down

0 comments on commit 4227f36

Please sign in to comment.