mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add xlsx format to Spreadsheet-Node
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user