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:
parent
ad4cbc3321
commit
26e975e791
1 changed files with 0 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue