Linting
This commit is contained in:
parent
56a1b068cc
commit
a1fdff8df8
|
@ -70,7 +70,7 @@ export const TYPE_TRANSFORM_MAP: any = {
|
|||
"": [],
|
||||
[null]: [],
|
||||
[undefined]: undefined,
|
||||
parse: (attachments) => {
|
||||
parse: attachments => {
|
||||
if (typeof attachments === "string") {
|
||||
let result = attachments
|
||||
try {
|
||||
|
@ -78,10 +78,10 @@ export const TYPE_TRANSFORM_MAP: any = {
|
|||
} catch (e) {
|
||||
console.error("Could not parse attachments", e)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
return result
|
||||
}
|
||||
},
|
||||
},
|
||||
[FieldTypes.BOOLEAN]: {
|
||||
"": null,
|
||||
[null]: null,
|
||||
|
|
Loading…
Reference in New Issue