Cleaning up measurement edit

This commit is contained in:
Matthew Dillon 2015-09-16 12:45:06 -07:00
parent 40f2b789e4
commit 4b6a776b63
6 changed files with 29 additions and 42 deletions
app/pods/protected/strains/strain-form

View file

@ -4,6 +4,7 @@ export default Ember.Component.extend({
actions: {
save: function() {
// Need to override the string id for some reason
// TODO: check this
let strain = this.get('strain');
let id = strain.get('species.id');
strain.set('species.id', +id);