Cleaned up more unused code in <GhTagSettingsForm>

refs 704cbcfb4d

- `reset()` method was previously removed as it's no longer needed
- supporting code for calling that method was missed in the previous cleanup
This commit is contained in:
Kevin Ansfield 2020-01-10 14:56:20 +00:00
parent f271415626
commit 3ac4de6747

View File

@ -72,19 +72,6 @@ export default Component.extend({
return metaDescription;
}),
didReceiveAttrs() {
this._super(...arguments);
let oldTagId = this._oldTagId;
let newTagId = this.get('tag.id');
if (newTagId !== oldTagId) {
this.reset();
}
this._oldTagId = newTagId;
},
actions: {
setProperty(property, value) {
this.setProperty(property, value);