mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Google Sheets Node): Add "By Name" option to selector for Sheets (#8241)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -45,6 +45,11 @@ export function getSpreadsheetId(
|
||||
return value;
|
||||
}
|
||||
|
||||
export function getSheetId(value: string): number {
|
||||
if (value === 'gid=0') return 0;
|
||||
return parseInt(value);
|
||||
}
|
||||
|
||||
// Convert number to Sheets / Excel column name
|
||||
export function getColumnName(colNumber: number): string {
|
||||
const baseChar = 'A'.charCodeAt(0);
|
||||
|
||||
Reference in New Issue
Block a user