This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/users/new/new-user-form/component.js
2015-06-23 16:51:58 -08:00

16 lines
270 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['grid-1'],
passwordConfirm: null,
actions: {
save: function() {
var user = this.get('user');
if (user.get('isDirty')) {
user.save();
}
},
},
});