Browse Source

chore(nc-gui): lint

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
a3fa0e1e3c
  1. 6
      packages/nc-gui/utils/parsers/parserHelpers.ts

6
packages/nc-gui/utils/parsers/parserHelpers.ts

@ -55,7 +55,7 @@ export const extractMultiOrSingleSelectProps = (colData: []) => {
const maxSelectOptionsAllowed = 64
const colProps: any = {}
if (colData.some((v: any) => v && (v || '').toString().includes(','))) {
let flattenedVals = colData.flatMap((v: any) =>
const flattenedVals = colData.flatMap((v: any) =>
v
? v
.toString()
@ -143,7 +143,7 @@ export const getColumnUIDTAndMetas = (colData: [], defaultType: string) => {
colProps.uidt = UITypes.Decimal
}
}
// TODO: currency
// TODO: date / datetime
// TODO(import): currency
// TODO(import): date / datetime
return colProps
}

Loading…
Cancel
Save