Working on deprecations
This commit is contained in:
parent
e91a283680
commit
7696b7008f
12 changed files with 29 additions and 18 deletions
|
@ -15,7 +15,7 @@ export default Ember.Component.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
if (user.get('isDirty')) {
|
||||
if (user.get('hasDirtyAttributes')) {
|
||||
user.save().then(() => {
|
||||
this.sendAction();
|
||||
}).catch(() => {
|
||||
|
|
Reference in a new issue