This repository has been archived on 2025-03-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
hymenobacterdotinfo/app/pods/protected/strains/strain-form/component.js
2015-11-04 13:36:09 -07:00

21 lines
401 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
actions: {
save: function() {
this.sendAction('save');
},
cancel: function() {
this.sendAction('cancel');
},
isolatedFromDidChange: function(value) {
this.set('strain.isolatedFrom', value);
},
notesDidChange: function(value) {
this.set('strain.notes', value);
},
},
});