Skip to content

Commit

Permalink
properly define variable. #117
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 30, 2018
1 parent ae5efa2 commit 902a7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/doi-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default Component.extend({
resourceTypesGeneral: resourceTypeGeneralList,

searchResourceTypeGeneral(query) {
resourceTypesGeneral = resourceTypeGeneralList.filter(function(resourceTypeGeneral) {
this.resourceTypesGeneral = resourceTypeGeneralList.filter(function(resourceTypeGeneral) {
return resourceTypeGeneral.startsWith(query.toLowerCase());
})
},
Expand Down

0 comments on commit 902a7c5

Please sign in to comment.