Cleaning up measurement edit
This commit is contained in:
parent
40f2b789e4
commit
4b6a776b63
6 changed files with 29 additions and 42 deletions
|
@ -6,12 +6,15 @@ export default Ember.Component.extend({
|
|||
|
||||
actions: {
|
||||
edit: function() {
|
||||
// The parent table fetches all of the characteristics ahead of time
|
||||
this.set('characteristics', this.store.peekAll('characteristic'));
|
||||
this.toggleProperty('isEditing');
|
||||
},
|
||||
|
||||
save: function() {
|
||||
this.toggleProperty('isEditing');
|
||||
console.log('saved');
|
||||
}
|
||||
this.get('row').save();
|
||||
},
|
||||
|
||||
},
|
||||
});
|
||||
|
|
Reference in a new issue