16 lines
270 B
JavaScript
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();
|
|
}
|
|
},
|
|
},
|
|
});
|