diff --git a/packages/nc-gui-v2/utils/parsers/ExcelTemplateAdapter.ts b/packages/nc-gui-v2/utils/parsers/ExcelTemplateAdapter.ts index abf3624481..85c631d2a2 100644 --- a/packages/nc-gui-v2/utils/parsers/ExcelTemplateAdapter.ts +++ b/packages/nc-gui-v2/utils/parsers/ExcelTemplateAdapter.ts @@ -237,4 +237,8 @@ export default class ExcelTemplateAdapter extends TemplateGenerator { getData() { return this.data } + + getColumns() { + return this.project.tables.map((t: Record) => t.columns) + } }