parent
007de178d8
commit
8577c38a9f
11 changed files with 40 additions and 29 deletions
|
@ -3,11 +3,6 @@ import Ember from 'ember';
|
|||
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);
|
||||
this.sendAction('save');
|
||||
},
|
||||
|
||||
|
|
Reference in a new issue