mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(Google Sheets Trigger Node): First non-header row is ignored when using on row added event (#8580)
This commit is contained in:
parent
1e134f1454
commit
2db8231af5
|
@ -473,7 +473,7 @@ export class GoogleSheetsTrigger implements INodeType {
|
|||
|
||||
const [from, to] = range.split(':');
|
||||
let keyRange = `${from}${keyRow}:${to}${keyRow}`;
|
||||
let rangeToCheck = `${from}${startIndex}:${to}`;
|
||||
let rangeToCheck = `${from}${keyRow}:${to}`;
|
||||
|
||||
if (options.dataLocationOnSheet) {
|
||||
const locationDefine = (options.dataLocationOnSheet as IDataObject).values as IDataObject;
|
||||
|
@ -503,7 +503,7 @@ export class GoogleSheetsTrigger implements INodeType {
|
|||
rangeToCheck = `${cellDataFrom[1]}${+cellDataFrom[2] + 1}:${rangeTo}`;
|
||||
} else {
|
||||
keyRange = `${cellDataFrom[1]}${keyRow}:${cellDataTo[1]}${keyRow}`;
|
||||
rangeToCheck = `${cellDataFrom[1]}${startIndex}:${rangeTo}`;
|
||||
rangeToCheck = `${cellDataFrom[1]}${keyRow}:${rangeTo}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue