fixes prettier

This commit is contained in:
Joffrey JAFFEUX 2019-07-16 13:15:27 +02:00
parent 49771b0f8e
commit 8f0bd298b1
2 changed files with 6 additions and 5 deletions

View File

@ -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,

View File

@ -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]) {