fixes prettier
This commit is contained in:
parent
49771b0f8e
commit
8f0bd298b1
|
@ -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({
|
export default Ember.Component.extend({
|
||||||
fileInput: null,
|
fileInput: null,
|
||||||
|
|
|
@ -122,10 +122,7 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
@computed("info.type")
|
@computed("info.type")
|
||||||
layoutType(type) {
|
layoutType(type) {
|
||||||
if (
|
if ((type === "time" || type === "date") && !allowsInputTypeTime()) {
|
||||||
(type === "time" || type === "date") &&
|
|
||||||
!allowsInputTypeTime()
|
|
||||||
) {
|
|
||||||
return "string";
|
return "string";
|
||||||
}
|
}
|
||||||
if (layoutMap[type]) {
|
if (layoutMap[type]) {
|
||||||
|
|
Loading…
Reference in New Issue