mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
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:
parent
f271415626
commit
3ac4de6747
@ -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 New Issue
Block a user