Browse Source

fix(nc-gui): autoSelectFieldType -> autoSelectFieldTypes

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
34eddb9f15
  1. 2
      packages/nc-gui/utils/parsers/ExcelTemplateAdapter.ts

2
packages/nc-gui/utils/parsers/ExcelTemplateAdapter.ts

@ -210,7 +210,7 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
for (const row of rows.slice(1)) {
const rowData: Record<string, any> = {}
for (let i = 0; i < table.columns.length; i++) {
if (!this.config.autoSelectFieldType) {
if (!this.config.autoSelectFieldTypes) {
// take raw data instead of data parsed by xlsx
const cellId = this.xlsx.utils.encode_cell({
c: range.s.c + i,

Loading…
Cancel
Save