Refactor characteristics/show
This commit is contained in:
parent
9715aac1f5
commit
31c4ff4d52
6 changed files with 95 additions and 72 deletions
|
@ -0,0 +1,14 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
const { Component } = Ember;
|
||||
|
||||
export default Component.extend({
|
||||
characteristic: null,
|
||||
"on-delete": null,
|
||||
|
||||
actions: {
|
||||
deleteCharacteristic: function() {
|
||||
return this.attrs['on-delete']();
|
||||
},
|
||||
},
|
||||
});
|
Reference in a new issue