mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Add xlsx format to Spreadsheet-Node
This commit is contained in:
parent
105858cb36
commit
524a8e62c9
|
@ -133,6 +133,11 @@ export class SpreadsheetFile implements INodeType {
|
|||
value: 'xls',
|
||||
description: 'Excel',
|
||||
},
|
||||
{
|
||||
name: 'XLSX',
|
||||
value: 'xlsx',
|
||||
description: 'Excel',
|
||||
},
|
||||
],
|
||||
default: 'xls',
|
||||
displayOptions: {
|
||||
|
@ -236,6 +241,7 @@ export class SpreadsheetFile implements INodeType {
|
|||
'/fileFormat': [
|
||||
'ods',
|
||||
'xls',
|
||||
'xlsx',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -338,6 +344,8 @@ export class SpreadsheetFile implements INodeType {
|
|||
wopts.bookType = 'ods';
|
||||
} else if (fileFormat === 'xls') {
|
||||
wopts.bookType = 'xls';
|
||||
} else if (fileFormat === 'xlsx') {
|
||||
wopts.bookType = 'xlsx';
|
||||
}
|
||||
|
||||
// Convert the data in the correct format
|
||||
|
|
Loading…
Reference in a new issue