Browse Source

fix(nc-gui): header -> firstRowAsHeaders

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

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

@ -215,7 +215,7 @@ export default class CSVTemplateAdapter {
steppers += 1 steppers += 1
if (row) { if (row) {
if (steppers === 1) { if (steppers === 1) {
if (that.config.header) { if (that.config.firstRowAsHeaders) {
// row.data is header // row.data is header
that.initTemplate(tableIdx, tn, row.data as []) that.initTemplate(tableIdx, tn, row.data as [])
} else { } else {

Loading…
Cancel
Save