1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Cleaned up more unused code in <GhTagSettingsForm>

refs b61f3f1ecc

- `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 ad4cbc3321
commit 26e975e791

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);