ENH: Convert sex fields to lookup (#76)

This commit is contained in:
Matthew Ryan Dillon 2018-03-03 12:10:12 -07:00 committed by GitHub
parent 6f01fbf00f
commit c87bd953d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 32 additions and 7 deletions

View file

@ -16,7 +16,8 @@ export default Controller.extend(ValidationMixin, {
options: computed('projectOptions', 'studyLocationOptions',
'collectionTypeOptions', 'collectionMethodOptions',
'speciesOptions', 'adfgPermitOptions', function() {
'speciesOptions', 'adfgPermitOptions', 'sexOptions',
function() {
return {
projects: this.get('projectOptions'),
studyLocations: this.get('studyLocationOptions'),
@ -24,6 +25,7 @@ export default Controller.extend(ValidationMixin, {
collectionMethods: this.get('collectionMethodOptions'),
species: this.get('speciesOptions'),
adfgPermits: this.get('adfgPermitOptions'),
sexes: this.get('sexOptions'),
};
}),