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

Loading…
Cancel
Save