ui: Add missed calls to `_super` (#6595)

This commit is contained in:
John Cowen 2019-11-18 11:29:04 +00:00 committed by John Cowen
parent 7910ab4ca6
commit 28239e70d9
1 changed files with 2 additions and 0 deletions

View File

@ -10,9 +10,11 @@ import { get } from '@ember/object';
*/
export default Mixin.create({
beforeModel: function() {
this._super(...arguments);
this.repo.invalidate();
},
deactivate: function() {
this._super(...arguments);
// TODO: This is dependent on ember-changeset
// Change changeset to support ember-data props
const item = get(this.controller, 'item.data');