diff --git a/assets/javascripts/discourse/components/wizard-custom-input.js.es6 b/assets/javascripts/discourse/components/wizard-custom-input.js.es6 index d5151382..bc8a1585 100644 --- a/assets/javascripts/discourse/components/wizard-custom-input.js.es6 +++ b/assets/javascripts/discourse/components/wizard-custom-input.js.es6 @@ -1,8 +1,6 @@ -import { default as computed, on, observes } from 'ember-addons/ember-computed-decorators'; +import { default as computed, on } from 'ember-addons/ember-computed-decorators'; import { getOwner } from 'discourse-common/lib/get-owner'; -const fieldNotPresent = (f) => { return f == null || f === undefined }; - export default Ember.Component.extend({ classNames: 'custom-input', noneKey: 'admin.wizard.select_field', @@ -27,7 +25,7 @@ export default Ember.Component.extend({ return { id: `user_field_${f.id}`, name: f.name - } + }; })); } });