Browse Source

refactor(nc-gui): align the default column names

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

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

@ -266,7 +266,7 @@ export default class CSVTemplateAdapter {
that.initTemplate(
tableIdx,
tn,
[...Array((row.data as []).length)].map((_, i) => `column${i + 1}`),
[...Array((row.data as []).length)].map((_, i) => `field_${i + 1}`),
)
if (that.config.autoSelectFieldTypes) {
// row.data is data

Loading…
Cancel
Save