Browse Source

chore(gui-v2): remove quickImportType from ExcelUrlTemplateAdapter

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
c553d955ee
  1. 4
      packages/nc-gui-v2/utils/parsers/ExcelUrlTemplateAdapter.ts

4
packages/nc-gui-v2/utils/parsers/ExcelUrlTemplateAdapter.ts

@ -3,14 +3,12 @@ const { $api } = useNuxtApp()
export default class ExcelUrlTemplateAdapter extends ExcelTemplateAdapter {
url: string
quickImportType: string
excelData: any
constructor(url: string, parserConfig: Record<string, any>, quickImportType: string) {
constructor(url: string, parserConfig: Record<string, any>) {
const name = url.split('/').pop()
super(name, parserConfig)
this.url = url
this.quickImportType = quickImportType
this.excelData = null
}

Loading…
Cancel
Save