Browse Source

chore: comment correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6684/head
Pranav C 1 year ago
parent
commit
274ebfd16a
  1. 4
      packages/nc-gui/helpers/parsers/parserHelpers.ts

4
packages/nc-gui/helpers/parsers/parserHelpers.ts

@ -142,8 +142,8 @@ export const isEmailType = (colData: [], col?: number) =>
export const isUrlType = (colData: [], col?: number) => export const isUrlType = (colData: [], col?: number) =>
colData.some((r: any) => { colData.some((r: any) => {
const v = getColVal(r, col) const v = getColVal(r, col)
// convert string to number since isURL only accepts string // convert to string since isURL only accepts string
// and cell data value can be number and other types // and cell data value can be number or any other types
return v && isURL(v.toString()) return v && isURL(v.toString())
}) })

Loading…
Cancel
Save