From 4e12e872be1c0576d03a35024412b49596e2f5df Mon Sep 17 00:00:00 2001 From: Faizaan Gagan Date: Mon, 15 Feb 2021 13:47:37 +0530 Subject: [PATCH] removed unused code --- .../wizard/components/similar-topics-validator.js.es6 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/wizard/components/similar-topics-validator.js.es6 b/assets/javascripts/wizard/components/similar-topics-validator.js.es6 index 5c90ae7f..814e3ade 100644 --- a/assets/javascripts/wizard/components/similar-topics-validator.js.es6 +++ b/assets/javascripts/wizard/components/similar-topics-validator.js.es6 @@ -9,6 +9,7 @@ export default WizardFieldValidator.extend({ similarTopics: [], validate() {}, + @observes("field.value") customValidate() { const lastKeyUp = new Date(); @@ -42,9 +43,7 @@ export default WizardFieldValidator.extend({ this.set("similarTopics", similarTopics); }); }, - init() { - this._super(...arguments); - }, + actions: { closeMessage() { this.set("showMessage", false);