From 3ac4de6747b4a2ea506e25f47448b23691bced24 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Fri, 10 Jan 2020 14:56:20 +0000 Subject: [PATCH] Cleaned up more unused code in refs https://github.com/TryGhost/Ghost-Admin/commit/704cbcfb4d9935e7d17fddae651b85642074e6e4 - `reset()` method was previously removed as it's no longer needed - supporting code for calling that method was missed in the previous cleanup --- ghost/admin/app/components/gh-tag-settings-form.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ghost/admin/app/components/gh-tag-settings-form.js b/ghost/admin/app/components/gh-tag-settings-form.js index 0176fd7a1c..97b17141dc 100644 --- a/ghost/admin/app/components/gh-tag-settings-form.js +++ b/ghost/admin/app/components/gh-tag-settings-form.js @@ -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);