From 1b1df47e620676bd7ea6fd5eb254a4f1f02095ba Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Fri, 29 Jun 2018 16:07:34 +1000 Subject: [PATCH] js formatting --- .../discourse/components/wizard-custom-input.js.es6 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 - } + }; })); } });