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({ export default Mixin.create({
beforeModel: function() { beforeModel: function() {
this._super(...arguments);
this.repo.invalidate(); this.repo.invalidate();
}, },
deactivate: function() { deactivate: function() {
this._super(...arguments);
// TODO: This is dependent on ember-changeset // TODO: This is dependent on ember-changeset
// Change changeset to support ember-data props // Change changeset to support ember-data props
const item = get(this.controller, 'item.data'); const item = get(this.controller, 'item.data');