Cleaning up measurement edit
This commit is contained in:
parent
40f2b789e4
commit
4b6a776b63
6 changed files with 29 additions and 42 deletions
app/pods/protected/strains/strain-form
|
@ -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);
|
||||
|
|
Reference in a new issue