From 8f0bd298b1f8246afb4c784724ae9b71643c8357 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 16 Jul 2019 13:15:27 +0200 Subject: [PATCH] fixes prettier --- .../discourse/components/json-file-uploader.js.es6 | 6 +++++- assets/javascripts/discourse/components/param-input.js.es6 | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/assets/javascripts/discourse/components/json-file-uploader.js.es6 b/assets/javascripts/discourse/components/json-file-uploader.js.es6 index f3da66e..b9fb599 100644 --- a/assets/javascripts/discourse/components/json-file-uploader.js.es6 +++ b/assets/javascripts/discourse/components/json-file-uploader.js.es6 @@ -1,4 +1,8 @@ -import { default as computed, on, observes } from "ember-addons/ember-computed-decorators"; +import { + default as computed, + on, + observes +} from "ember-addons/ember-computed-decorators"; export default Ember.Component.extend({ fileInput: null, diff --git a/assets/javascripts/discourse/components/param-input.js.es6 b/assets/javascripts/discourse/components/param-input.js.es6 index 59e2399..cb8334a 100644 --- a/assets/javascripts/discourse/components/param-input.js.es6 +++ b/assets/javascripts/discourse/components/param-input.js.es6 @@ -122,10 +122,7 @@ export default Ember.Component.extend({ @computed("info.type") layoutType(type) { - if ( - (type === "time" || type === "date") && - !allowsInputTypeTime() - ) { + if ((type === "time" || type === "date") && !allowsInputTypeTime()) { return "string"; } if (layoutMap[type]) {