Browse Source

chore: lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4556/head
Pranav C 2 years ago
parent
commit
10be0190a9
  1. 2
      packages/nc-gui/composables/useMultiSelect/index.ts
  2. 2
      packages/nc-gui/utils/columnUtils.ts

2
packages/nc-gui/composables/useMultiSelect/index.ts

@ -4,13 +4,13 @@ import { RelationTypes, UITypes, isVirtualCol } from 'nocodb-sdk'
import type { Cell } from './cellRange' import type { Cell } from './cellRange'
import { CellRange } from './cellRange' import { CellRange } from './cellRange'
import convertCellData from './convertCellData' import convertCellData from './convertCellData'
import { isTypableInputColumn } from '~/utils'
import type { Row } from '~/lib' import type { Row } from '~/lib'
import { import {
copyTable, copyTable,
extractPkFromRow, extractPkFromRow,
extractSdkResponseErrorMsg, extractSdkResponseErrorMsg,
isMac, isMac,
isTypableInputColumn,
message, message,
reactive, reactive,
ref, ref,

2
packages/nc-gui/utils/columnUtils.ts

@ -191,7 +191,7 @@ const getUniqueColumnName = (initName: string, columns: ColumnType[]) => {
} }
const isTypableInputColumn = (colOrUidt: ColumnType | UITypes) => { const isTypableInputColumn = (colOrUidt: ColumnType | UITypes) => {
let uidt: UITypes; let uidt: UITypes
if (typeof colOrUidt === 'object') { if (typeof colOrUidt === 'object') {
uidt = colOrUidt.uidt as UITypes uidt = colOrUidt.uidt as UITypes
} else { } else {

Loading…
Cancel
Save