Skip to content

Commit

Permalink
fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 4, 2020
1 parent 8091195 commit 73c25e7
Show file tree
Hide file tree
Showing 4 changed files with 1,343 additions and 81 deletions.
7 changes: 2 additions & 5 deletions app/components/doi-alternate-identifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,16 @@ export default Component.extend({
if (!this.selected.includes(select.searchText)) {
this.alternateIdentifierTypes.push(select.searchText);
select.actions.choose(select.searchText);
this.fragment.set('alternativeIdentifierType', select.searchText);
this.fragment.set('alternateIdentifierType', select.searchText);
this.set('alternateIdentifierTypes', alternateIdentifierTypeList);
}
}
},
updateAlternateIdentifier(value) {
this.fragment.set('alternateIdentifier', value);
},
updateAlternateIdentifierType(value) {
this.fragment.set('alternativeIdentifierType', value);
},
selectAlternateIdentifierType(alternateIdentifierType) {
this.fragment.set('alternativeIdentifierType', alternateIdentifierType);
this.fragment.set('alternateIdentifierType', alternateIdentifierType);
this.set('alternateIdentifierTypes', alternateIdentifierTypeList);
},
deleteAlternateIdentifier() {
Expand Down
Loading

0 comments on commit 73c25e7

Please sign in to comment.