Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Cleaned up more unused code in <GhTagSettingsForm>
Browse files Browse the repository at this point in the history
refs b61f3f1

- `reset()` method was previously removed as it's no longer needed
- supporting code for calling that method was missed in the previous cleanup
  • Loading branch information
kevinansfield committed Jan 10, 2020
1 parent ad4cbc3 commit 26e975e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions app/components/gh-tag-settings-form.js
Expand Up @@ -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);
Expand Down

0 comments on commit 26e975e

Please sign in to comment.