Browse Source

feat(gui-v2): add getColumns

pull/3051/head
Wing-Kam Wong 2 years ago
parent
commit
0f3ddf7654
  1. 4
      packages/nc-gui-v2/utils/parsers/ExcelTemplateAdapter.ts

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

@ -237,4 +237,8 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
getData() { getData() {
return this.data return this.data
} }
getColumns() {
return this.project.tables.map((t: Record<string, any>) => t.columns)
}
} }

Loading…
Cancel
Save