From a3fa0e1e3cd4ccd8d38851263304b3d7c2b2b038 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 18 Oct 2022 11:43:24 +0800 Subject: [PATCH] chore(nc-gui): lint --- packages/nc-gui/utils/parsers/parserHelpers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/utils/parsers/parserHelpers.ts b/packages/nc-gui/utils/parsers/parserHelpers.ts index 878e7800ac..3b308467f6 100644 --- a/packages/nc-gui/utils/parsers/parserHelpers.ts +++ b/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 }