Fix broken strain reference
This commit is contained in:
parent
8ab9312b9e
commit
1d0d948c29
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export default Ember.Controller.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
cancel: function() {
|
cancel: function() {
|
||||||
let strain = this.get('protected.strain');
|
let strain = this.get('strain');
|
||||||
|
|
||||||
strain.get('errors').clear();
|
strain.get('errors').clear();
|
||||||
strain.rollback();
|
strain.rollback();
|
||||||
|
|
Reference in a new issue