Browse Source

refactor(nc-gui): remove unused mssql code

pull/5642/head
Wing-Kam Wong 2 years ago
parent
commit
2afdfe3e60
  1. 1
      packages/nc-gui/composables/useMultiSelect/convertCellData.ts
  2. 4
      packages/nc-gui/composables/useMultiSelect/index.ts

1
packages/nc-gui/composables/useMultiSelect/convertCellData.ts

@ -7,7 +7,6 @@ import { parseProp } from '#imports'
export default function convertCellData(
args: { from: UITypes; to: UITypes; value: any; column: ColumnType; appInfo: AppInfo },
isMysql = false,
isMssql = false,
isXcdbBase = false,
) {
const { from, to, value } = args

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

@ -55,7 +55,7 @@ export function useMultiSelect(
const { appInfo } = useGlobal()
const { isMssql, isMysql, isXcdbBase } = useProject()
const { isMysql, isXcdbBase } = useProject()
let clipboardContext = $ref<{ value: any; uidt: UITypes } | null>(null)
@ -333,7 +333,6 @@ export function useMultiSelect(
appInfo: unref(appInfo),
},
isMysql(meta.value?.base_id),
isMssql(meta.value?.base_id),
isXcdbBase(meta.value?.base_id),
)
e.preventDefault()
@ -369,7 +368,6 @@ export function useMultiSelect(
appInfo: unref(appInfo),
},
isMysql(meta.value?.base_id),
isMssql(meta.value?.base_id),
isXcdbBase(meta.value?.base_id),
)
e.preventDefault()

Loading…
Cancel
Save